code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/DebugMethodItem.java | Java | bsd | 4,860 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/EndTryLabelMethodItem.java | Java | bsd | 1,988 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/LabelMethodItem.java | Java | bsd | 3,298 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/BlankMethodItem.java | Java | bsd | 2,078 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/PostInstructionRegisterInfoMethodItem.java | Java | bsd | 4,393 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/MethodItem.java | Java | bsd | 2,385 |
/*
* [The "BSD licence"]
* Copyright (c) 2011 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/SyntheticAccessCommentMethodItem.java | Java | bsd | 2,712 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/CatchMethodItem.java | Java | bsd | 3,640 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/AnnotationFormatter.java | Java | bsd | 2,705 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/PreInstructionRegisterInfoMethodItem.java | Java | bsd | 11,051 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/CommentMethodItem.java | Java | bsd | 2,183 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/ArrayDataMethodItem.java | Java | bsd | 2,875 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/InstructionMethodItemFactory.java | Java | bsd | 3,386 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/SparseSwitchMethodItem.java | Java | bsd | 5,054 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/UnresolvedOdexInstructionMethodItem.java | Java | bsd | 2,378 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/OffsetInstructionFormatMethodItem.java | Java | bsd | 3,360 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/InstructionMethodItem.java | Java | bsd | 13,333 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/PackedSwitchMethodItem.java | Java | bsd | 4,819 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/ClassDefinition.java | Java | bsd | 13,768 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/FieldDefinition.java | Java | bsd | 3,950 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/Adaptors/RegisterFormatter.java | Java | bsd | 5,028 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | baksmali/src/main/java/org/jf/baksmali/main.java | Java | bsd | 21,211 |
.class public Lmain;
.super Ljava/lang/Object;
.method public static main([Ljava/lang/String;)V
.registers 3
:here4
const v0, 0
:here3
new-instance v2, Lsuperclass;
invoke-direct {v2}, Lsuperclass;-><init>()V
if-eqz v0, :here
#this is the unresolvable instruction. v0 is always nu... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test1/main.smali | Smali | bsd | 2,292 |
.class public Lrandomclass;
.super Ljava/lang/Object;
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public getSuperclass()Lsuperclass;
.registers 2
new-instance v0, Lsuperclass;
invoke-direct {v0}, Lsupercla... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test1/randomclass.smali | Smali | bsd | 368 |
.class public Lsuperclass;
.super Ljava/lang/Object;
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public somemethod()V
.registers 2
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-strin... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test1/superclass.smali | Smali | bsd | 460 |
.class public Lsubclass;
.super Lsuperclass;
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lsuperclass;-><init>()V
return-void
.end method
.method public somemethod()V
.registers 2
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v1, "subclas... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test1/subclass.smali | Smali | bsd | 444 |
.class public Lmain;
.super Ljava/lang/Object;
.method public static main([Ljava/lang/String;)V
.registers 6
const v2, 0
const v3, 1
const v4, 0
new-array v1, v3, [Lsubclass1;
new-instance v0, Lsubclass1;
invoke-direct {v0}, Lsubclass1;-><init>()V
aput-object v0, v1, v4
goto :h... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test2/app_classes/main.smali | Smali | bsd | 847 |
.class public Lsubclass2;
.super Lsuperclass;
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lsuperclass;-><init>()V
return-void
.end method
.method public somemethod()V
.registers 2
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v1, "subcla... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test2/bootclass_classes/subclass2.smali | Smali | bsd | 446 |
.class public Lrandomclass;
.super Ljava/lang/Object;
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public getSuperclass()Lsuperclass;
.registers 2
new-instance v0, Lsuperclass;
invoke-direct {v0}, Lsupercla... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test2/bootclass_classes/randomclass.smali | Smali | bsd | 368 |
.class public Lsupersuperclass;
.super Ljava/lang/Object;
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public somemethod()V
.registers 2
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test2/bootclass_classes/supersuperclass.smali | Smali | bsd | 470 |
.class public Lsubclass1;
.super Lsuperclass;
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lsuperclass;-><init>()V
return-void
.end method
.method public somemethod()V
.registers 2
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v1, "subcla... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test2/bootclass_classes/subclass1.smali | Smali | bsd | 446 |
.class public Lsuperclass;
.super Lsupersuperclass;
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lsupersuperclass;-><init>()V
return-void
.end method
.method public somemethod()V
.registers 2
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string ... | zzhpublic-mytest | baksmali/src/test/smali/deodex_test2/bootclass_classes/superclass.smali | Smali | bsd | 458 |
.class public Lbaksmali/test/class;
.super Ljava/lang/Object;
.source "baksmali_test_class.smali"
.implements Lsome/interface;
.implements Lsome/other/interface;
.annotation build Lsome/annotation;
value1 = "test"
value2 = .subannotation Lsome/annotation;
value1 = "test2"
value2 = Lsome/enum... | zzhpublic-mytest | baksmali/src/test/smali/baksmali_test_class.smali | Smali | bsd | 4,873 |
.class public abstract interface annotation LRecursiveAnnotation;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation;
#this is a recursive annotation that has a default value of itself.
#Trying to print .toString() on an instance of this annotation
#will cause a stack overflow
.method public abstr... | zzhpublic-mytest | examples/RecursiveAnnotation/RecursiveAnnotation.smali | Smali | bsd | 624 |
.class public LMain;
.super Ljava/lang/Object;
#expected output (using the dalvik's default stack size)
#@RecursiveAnnotation(value=@RecursiveAnnotation(value=@RecursiveAnnotation(value=@RecursiveAnnotation(value=@RecursiveAnnotation(value=@RecursiveAnnotation(value=@RecursiveAnnotation(value=@RecursiveAnnotation(valu... | zzhpublic-mytest | examples/RecursiveAnnotation/Main.smali | Smali | bsd | 1,490 |
.class public abstract interface annotation LFieldAnnotation;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation;
| zzhpublic-mytest | examples/AnnotationTypes/FieldAnnotation.smali | Smali | bsd | 135 |
.class public LMain;
.super Ljava/lang/Object;
#expected output:
#@ClassAnnotation()
#@MethodAnnotation()
#@FieldAnnotation()
#@ParameterAnnotation()
.method public static main([Ljava/lang/String;)V
.registers 1
invoke-static {}, LMain;->testClassAnnotation()V
invoke-static {}, LMain;->testMethodAnnot... | zzhpublic-mytest | examples/AnnotationTypes/Main.smali | Smali | bsd | 3,506 |
.class public abstract interface annotation LParameterAnnotation;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation; | zzhpublic-mytest | examples/AnnotationTypes/ParameterAnnotation.smali | Smali | bsd | 137 |
.class public abstract interface annotation LMethodAnnotation;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation;
| zzhpublic-mytest | examples/AnnotationTypes/MethodAnnotation.smali | Smali | bsd | 136 |
.class public abstract interface annotation LClassAnnotation;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation;
| zzhpublic-mytest | examples/AnnotationTypes/ClassAnnotation.smali | Smali | bsd | 135 |
.class public LHelloWorld;
#Ye olde hello world application
#To assemble and run this on a phone or emulator:
#
#java -jar smali.jar -o classes.dex HelloWorld.smali
#zip HelloWorld.zip classes.dex
#adb push HelloWorld.zip /data/local
#adb shell dalvikvm -cp /data/local/HelloWorld.zip HelloWorld
#
#if you get out of me... | zzhpublic-mytest | examples/HelloWorld/HelloWorld.smali | Smali | bsd | 729 |
.class public LMain;
.super Ljava/lang/Object;
#expected output:
#returning a string
#42
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static main([Ljava/lang/String;)V
.registers 4
sget-object v0, Ljava... | zzhpublic-mytest | examples/MethodOverloading/Main.smali | Smali | bsd | 1,123 |
.class public LMain;
.super Ljava/lang/Object;
.implements LInterface;
#expected output:
#in interfaceMethod()
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static main([Ljava/lang/String;)V
.registers 3
... | zzhpublic-mytest | examples/Interface/Main.smali | Smali | bsd | 814 |
.class public abstract interface LInterface;
.super Ljava/lang/Object;
.method public abstract interfaceMethod()Ljava/lang/String;
.end method | zzhpublic-mytest | examples/Interface/Interface.smali | Smali | bsd | 143 |
.class public L10;
.super Ljava/lang/Object;
.method public static 11()V
return-void
.end method | zzhpublic-mytest | examples/AnnotationValues/10.smali | Smali | bsd | 101 |
.class public final enum LEnum;
.super Ljava/lang/Enum;
.field private static final synthetic $VALUES:[LEnum;
.field public static final enum 12:LEnum;
.method static constructor <clinit>()V
.registers 4
const/4 v3, 1
const/4 v2, 0
new-instance v0, LEnum;
const-string v1, "12"
invoke-direct ... | zzhpublic-mytest | examples/AnnotationValues/Enum.smali | Smali | bsd | 1,323 |
.class public LMain;
.super Ljava/lang/Object;
#expected output:
#@AnnotationWithValues(booleanValue=false, byteValue=1, charValue=2, doubleValue=7.0, enumValue=12, floatValue=6.0, intValue=4, longValue=5, methodValue=public static void 10.11(), shortValue=3, stringValue=8, subAnnotationValue=@SubAnnotation(stringValu... | zzhpublic-mytest | examples/AnnotationValues/Main.smali | Smali | bsd | 864 |
.class public abstract interface annotation LSubAnnotation;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation;
.method public abstract stringValue()Ljava/lang/String;
.end method | zzhpublic-mytest | examples/AnnotationValues/SubAnnotation.smali | Smali | bsd | 200 |
.class public abstract interface annotation LAnnotationWithValues;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation;
.method public abstract booleanValue()Z
.end method
.method public abstract byteValue()B
.end method
.method public abstract charValue()C
.end method
.method public abstract sho... | zzhpublic-mytest | examples/AnnotationValues/AnnotationWithValues.smali | Smali | bsd | 1,783 |
.class public LMain;
.super Ljava/lang/Object;
.method public static main([Ljava/lang/String;)V
.registers 3
:second_handler
:first_try_start
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0}, Ljava/lang/RuntimeException;-><init>()V
throw v0
:first_try_end
.c... | zzhpublic-mytest | examples/RecursiveExceptionHandler/Main.smali | Smali | bsd | 698 |
.class public final enum LEnum;
.super Ljava/lang/Enum;
#This class is an example of how to define an enum. You have
#to do all of the work that java normally takes care of
.field private static final synthetic $VALUES:[LEnum;
.field public static final enum VALUE1:LEnum;
.field public static final enum VALUE2:LEnum... | zzhpublic-mytest | examples/Enums/Enum.smali | Smali | bsd | 2,062 |
.class public LMain;
.super Ljava/lang/Object;
.method public static main([Ljava/lang/String;)V
.registers 2
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
sget-object v1, LEnum;->VALUE1:LEnum;
invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
return-void... | zzhpublic-mytest | examples/Enums/Main.smali | Smali | bsd | 332 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | util/src/main/java/org/jf/util/smaliHelpFormatter.java | Java | bsd | 1,881 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | util/src/main/java/org/jf/util/IndentingWriter.java | Java | bsd | 5,498 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | util/src/main/java/org/jf/util/ConsoleUtil.java | Java | bsd | 3,635 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | util/src/main/java/org/jf/util/ClassFileNameHandler.java | Java | bsd | 15,002 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | util/src/main/java/org/jf/util/PathUtil.java | Java | bsd | 4,463 |
/*
The MIT License
Copyright (c) 2008 Tahseen Ur Rehman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | zzhpublic-mytest | util/src/main/java/ds/tree/RadixTreeNode.java | Java | bsd | 2,813 |
package ds.tree;
/**
* A simple standard implementation for a {@link visitor}.
*
* @author Dennis Heidsiek
* @param <T,R>
*/
public abstract class VisitorImpl<T, R> implements Visitor<T, R> {
protected R result;
public VisitorImpl() {
this.result = null;
}
public VisitorImpl(R initialValue) {
this.... | zzhpublic-mytest | util/src/main/java/ds/tree/VisitorImpl.java | Java | bsd | 482 |
/*
The MIT License
Copyright (c) 2008 Tahseen Ur Rehman, Javid Jamae
http://code.google.com/p/radixtree/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without li... | zzhpublic-mytest | util/src/main/java/ds/tree/RadixTreeImpl.java | Java | bsd | 16,049 |
/*
The MIT License
Copyright (c) 2008 Tahseen Ur Rehman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | zzhpublic-mytest | util/src/main/java/ds/tree/RadixTree.java | Java | bsd | 4,267 |
/*
The MIT License
Copyright (c) 2008 Tahseen Ur Rehman, Javid Jamae
http://code.google.com/p/radixtree/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without li... | zzhpublic-mytest | util/src/main/java/ds/tree/Visitor.java | Java | bsd | 2,071 |
/*
The MIT License
Copyright (c) 2008 Tahseen Ur Rehman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | zzhpublic-mytest | util/src/main/java/ds/tree/DuplicateKeyException.java | Java | bsd | 1,508 |
package net.zdsoft.service;
import net.zdsoft.model.User;
import org.springframework.dao.DataAccessException;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundE... | zza-project-ppm | trunk/ppm/src/test/java/net/zdsoft/service/MockUserDetailsService.java | Java | gpl3 | 559 |
package net.zdsoft.service.impl;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import net.zdsoft.util.ConvertUtil;
import org.jmock.Mockery;
import org.jmock.integration.junit4.JMock;
import org.jmock.integration.junit4.JUnit4Mockery... | zza-project-ppm | trunk/ppm/src/test/java/net/zdsoft/service/impl/BaseManagerMockTestCase.java | Java | gpl3 | 1,975 |
package net.zdsoft.service;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import net.zdsoft.util.ConvertUtil;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransa... | zza-project-ppm | trunk/ppm/src/test/java/net/zdsoft/service/BaseManagerTestCase.java | Java | gpl3 | 2,145 |
package net.zdsoft.webapp.filter;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import javax.servlet.FilterChain;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletReque... | zza-project-ppm | trunk/ppm/src/test/java/net/zdsoft/webapp/filter/MockFilterChain.java | Java | gpl3 | 1,622 |
package net.zdsoft.webapp.action;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.config.Configuration;
import com.opensymphony.xwork2.config.ConfigurationManager;
import com.opensymphony.xwork2.config.providers.XWorkConfigurationProvider;
import com.opensymphony.xwork2.inject.Contai... | zza-project-ppm | trunk/ppm/src/test/java/net/zdsoft/webapp/action/BaseActionTestCase.java | Java | gpl3 | 3,238 |
package net.zdsoft.dao;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.SessionFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... | zza-project-ppm | trunk/ppm/src/test/java/net/zdsoft/dao/BaseDaoTestCase.java | Java | gpl3 | 3,376 |
<%@ include file="/common/taglibs.jsp"%>
<c:redirect url="/mainMenu"/>
| zza-project-ppm | trunk/ppm/src/main/webapp/index.jsp | Java Server Pages | gpl3 | 75 |
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="org.springframework.security.web.authentication.rememberme.TokenBasedRememberMeServices" %>
<%@ page import="javax.servlet.http.Cookie" %>
<%
if (request.getSession(false) != null) {
session.invalidate();
}
Cookie terminate = new Cookie(TokenBasedRe... | zza-project-ppm | trunk/ppm/src/main/webapp/logout.jsp | Java Server Pages | gpl3 | 614 |
<%@ include file="/common/taglibs.jsp"%>
<page:applyDecorator name="default">
<head>
<title><fmt:message key="403.title"/></title>
<meta name="heading" content="<fmt:message key='403.title'/>"/>
</head>
<p>
<fmt:message key="403.message">
<fmt:param><c:url value="/"/></fmt:param>
... | zza-project-ppm | trunk/ppm/src/main/webapp/403.jsp | Java Server Pages | gpl3 | 607 |
<script type="text/javascript">
if (getCookie("username") != null) {
$("j_username").value = getCookie("username");
$("j_password").focus();
} else {
$("j_username").focus();
}
function saveUsername(theForm) {
var expires = new Date();
expires.setTime(expires... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/login.js | JavaScript | gpl3 | 1,435 |
// script.aculo.us slider.js v1.8.2, Tue Nov 18 18:30:58 +0100 2008
// Copyright (c) 2005-2008 Marty Haught, Thomas Fuchs
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/
if (!Control) var Control = { };
/... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/slider.js | JavaScript | gpl3 | 10,194 |
// ** I18N
Calendar._DN = new Array
("Duminică",
"Luni",
"Marţi",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă",
"Duminică");
Calendar._SDN_len = 2;
Calendar._MN = new Array
("Ianuarie",
"Februarie",
"Martie",
"Aprilie",
"Mai",
"Iunie",
"Iulie",
"August",
"Septembrie",
"Octombrie",
"Noie... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-ro.js | JavaScript | gpl3 | 2,124 |
// ** I18N Afrikaans
Calendar._DN = new Array
("Sondag",
"Maandag",
"Dinsdag",
"Woensdag",
"Donderdag",
"Vrydag",
"Saterdag",
"Sondag");
Calendar._MN = new Array
("Januarie",
"Februarie",
"Maart",
"April",
"Mei",
"Junie",
"Julie",
"Augustus",
"September",
"Oktober",
"November",
"... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-af.js | JavaScript | gpl3 | 1,050 |
// ** I18N
Calendar._DN = new Array
("Zondag",
"Maandag",
"Dinsdag",
"Woensdag",
"Donderdag",
"Vrijdag",
"Zaterdag",
"Zondag");
Calendar._SDN_len = 2;
Calendar._MN = new Array
("Januari",
"Februari",
"Maart",
"April",
"Mei",
"Juni",
"Juli",
"Augustus",
"September",
"Oktober",
... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-nl.js | JavaScript | gpl3 | 2,306 |
// ** I18N
// Calendar pt_BR language
// Author: Adalberto Machado, <betosm@terra.com.br>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also p... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-pt.js | JavaScript | gpl3 | 3,649 |
// ** I18N
// Calendar NO language
// Author: Daniel Holmen, <daniel.holmen@ciber.no>
// Encoding: UTF-8
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also ple... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-no.js | JavaScript | gpl3 | 3,291 |
/*
calendar-cs-win.js
language: Czech
encoding: windows-1250
author: Lubos Jerabek (xnet@seznam.cz)
Jan Uhlir (espinosa@centrum.cz)
*/
// ** I18N
Calendar._DN = new Array('Neděle','Pondělí','Úterý','Středa','Čtvrtek','Pátek','Sobota','Neděle');
Calendar._SDN = new Array('Ne','Po','Út','St','Čt... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-cs-utf8.js | JavaScript | gpl3 | 2,889 |
// ** I18N
// Calendar PL language
// Author: Dariusz Pietrzak, <eyck@ghost.anime.pl>
// Author: Janusz Piwowarski, <jpiw@go2.pl>
// Encoding: utf-8
// Distributed under the same terms as the calendar itself.
Calendar._DN = new Array
("Niedziela",
"Poniedziałek",
"Wtorek",
"Środa",
"Czwartek",
"Pi... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-pl-utf8.js | JavaScript | gpl3 | 2,728 |
// ** I18N
// Calendar EN language
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
// Translation: Yourim Yi <yyi@yourim.net>
// Encoding: EUC-KR
// lang : ko
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-ko-utf8.js | JavaScript | gpl3 | 3,688 |
// ** I18N
// Calendar EN language
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
// Translator: Fabio Di Bernardini, <altraqua@email.it>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-it.js | JavaScript | gpl3 | 3,757 |
// ** I18N
// Calendar EN language
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
// Encoding: any
// Translator : Niko <nikoused@gmail.com>
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/cn_utf8.js | JavaScript | gpl3 | 4,630 |
/* Slovenian language file for the DHTML Calendar version 0.9.2
* Author David Milost <mercy@volja.net>, January 2004.
* Feel free to use this script under the terms of the GNU Lesser General
* Public License, as long as you do not remove or alter this notice.
*/
// full day names
Calendar._DN = new Array
("Ne... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-si.js | JavaScript | gpl3 | 2,684 |
// ** I18N
// Calendar EN language
// Author: Idan Sofer, <idan@idanso.dyndns.org>
// Encoding: UTF-8
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also please... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-he-utf8.js | JavaScript | gpl3 | 4,042 |
/* Croatian language file for the DHTML Calendar version 0.9.2
* Author Krunoslav Zubrinic <krunoslav.zubrinic@vip.hr>, June 2003.
* Feel free to use this script under the terms of the GNU Lesser General
* Public License, as long as you do not remove or alter this notice.
*/
Calendar._DN = new Array
("Nedjelja",... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-hr-utf8.js | JavaScript | gpl3 | 1,553 |
// ** I18N
// Calendar pt-BR language
// Author: Fernando Dourado, <fernando.dourado@ig.com.br>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. ... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-br.js | JavaScript | gpl3 | 3,814 |
// ** I18N
// Calendar SK language
// Author: Peter Valach (pvalach@gmx.net)
// Encoding: utf-8
// Last update: 2003/10/29
// Distributed under the same terms as the calendar itself.
// full day names
Calendar._DN = new Array
("NedeÄľa",
"Pondelok",
"Utorok",
"Streda",
"Ĺ tvrtok",
"Piatok",
"Sob... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-sk.js | JavaScript | gpl3 | 2,760 |
// ** I18N
Calendar._DN = new Array
("Κυριακή",
"Δευτέρα",
"Τρίτη",
"Τετάρτη",
"Πέμπτη",
"Παρασκευή",
"Σάββατο",
"Κυριακή");
Calendar._SDN = new Array
("Κυ",
"Δε",
"Tρ",
"Τε",
"Πε",
"Πα",
"Σα",
"Κυ");
Calendar._MN = new Array
("Ιανουάριος",
"Φεβρουάριος",
"Μάρτιος",
"Απρίλιο... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-el.js | JavaScript | gpl3 | 3,241 |
// Calendar ALBANIAN language
//author Rigels Gordani rige@hotmail.com
// ditet
Calendar._DN = new Array
("E Diele",
"E Hene",
"E Marte",
"E Merkure",
"E Enjte",
"E Premte",
"E Shtune",
"E Diele");
//ditet shkurt
Calendar._SDN = new Array
("Die",
"Hen",
"Mar",
"Mer",
"Enj",
"Pre",
"Sht",
"Die")... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-al.js | JavaScript | gpl3 | 2,236 |
// ** I18N
// Calendar EN language
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also please
... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-en.js | JavaScript | gpl3 | 3,727 |
// ** I18N
// Calendar PL language
// Author: Artur Filipiak, <imagen@poczta.fm>
// January, 2004
// Encoding: UTF-8
Calendar._DN = new Array
("Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela");
Calendar._SDN = new Array
("N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N");... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-pl.js | JavaScript | gpl3 | 2,469 |
// ** I18N
// Calendar RU language
// Translation: Sly Golovanov, http://golovanov.net, <sly@golovanov.net>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationali... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-ru.js | JavaScript | gpl3 | 4,480 |
// ** I18N
// Calendar DE language
// Author: Jack (tR), <jack@jtr.de>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also please
// include y... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-de.js | JavaScript | gpl3 | 3,987 |
// ** I18N
// Calendar LT language
// Author: Martynas Majeris, <martynas@solmetra.lt>
// Encoding: UTF-8
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also pl... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-lt-utf8.js | JavaScript | gpl3 | 3,546 |
// ** I18N
// Calendar FI language (Finnish, Suomi)
// Author: Jarno Käyhkö, <gambler@phnet.fi>
// Encoding: UTF-8
// Distributed under the same terms as the calendar itself.
// full day names
Calendar._DN = new Array
("Sunnuntai",
"Maanantai",
"Tiistai",
"Keskiviikko",
"Torstai",
"Perjantai",
"... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-fi.js | JavaScript | gpl3 | 2,880 |
// ** I18N
Calendar._DN = new Array
("Zondag",
"Maandag",
"Dinsdag",
"Woensdag",
"Donderdag",
"Vrijdag",
"Zaterdag",
"Zondag");
Calendar._MN = new Array
("Januari",
"Februari",
"Maart",
"April",
"Mei",
"Juni",
"Juli",
"Augustus",
"September",
"Oktober",
"November",
"December");
... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-du.js | JavaScript | gpl3 | 1,188 |
// ** I18N
// Calendar DA language
// Author: Michael Thingmand Henriksen, <michael (a) thingmand dot dk>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-da.js | JavaScript | gpl3 | 3,623 |
// ** I18N
// Calendar big5-utf8 language
// Author: Gary Fu, <gary@garyfu.idv.tw>
// Encoding: utf8
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also please
... | zza-project-ppm | trunk/ppm/src/main/webapp/scripts/calendar/lang/calendar-big5-utf8.js | JavaScript | gpl3 | 3,648 |