Found 14005 results in 470 files, showing top 50 files (show more).
github.com/google/rekall:rekall-gui/manuskript/static/bower_components/markdown/test/fixtures/Markdown-from-MDTest1.1.mdtest/Markdown_Documentation_-_Syntax.json: [ master, ] json
15:         "class": "selected",
264:     ["pre", ["code", "    <div class=\"footer\">\u000a        &copy; 2004 Foo Corporation\u000a    </div>\u000a"]],
266:     ["pre", ["code", "<pre><code>&lt;div class=\"footer\"&gt;\u000a    &amp;copy; 2004 Foo Corporation\u000a&lt;/div&gt;\u000a</code></pre>\u000a"]],
149:     ["p", "in your anchor tag ", ["code", "href"], " attribute. Needless to say, this is easy to\u000aforget, and is probably the single most common source of HTML validation\u000aerrors in otherwise well-marked-up web sites."],
github.com/fuchsia-mirror/third_party-cmake:Source/cmTarget.cxx: [ master, ] c++
571:   const cmSourceFileLocation& Needle;
587:   const cmSourceFileLocation& Needle;
159: class cmTargetInternals
574:     : Needle(needle)
580:     return loc.Matches(this->Needle);
591:     : Needle(needle)
602:                    CreateLocation(this->Needle.GetMakefile()));
605:                         LocationMatcher(this->Needle)) != locations.end();
android.googlesource.com/platform/external/clang_35a:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
577:   const DeclRefExpr *Needle;
63:   class UnreachableCodeHandler : public reachable_code::Callback {
121: class LogicalErrorHandler : public CFGCallback {
192:         // Skip function calls which are qualified with a templated class.
572: /// ContainsReference - A visitor class to search for references to
575: class ContainsReference : public EvaluatedExprVisitor<ContainsReference> {
580:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
582:       FoundReference(false), Needle(Needle) {}
593:     if (E == Needle)
885:   class FallthroughMapper : public RecursiveASTVisitor<FallthroughMapper> {
1331: class UninitValsDiagReporter : public UninitVariablesHandler {
1454: class ThreadSafetyReporter : public clang::thread_safety::ThreadSafetyHandler {
1629: class ConsumedWarningsHandler : public ConsumedWarningsHandlerBase {
229:   // templated classes.
712:     switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) {
719:     case Stmt::IfStmtClass: {
729:     case Stmt::ConditionalOperatorClass: {
739:     case Stmt::BinaryOperatorClass: {
759:     case Stmt::WhileStmtClass:
766:     case Stmt::ForStmtClass:
776:     case Stmt::CXXForRangeStmtClass:
789:     case Stmt::DoStmtClass:
798:     case Stmt::CaseStmtClass:
803:     case Stmt::DefaultStmtClass:
1155:     switch (S->getStmtClass()) {
1156:     case Stmt::ForStmtClass:
1157:     case Stmt::WhileStmtClass:
1158:     case Stmt::CXXForRangeStmtClass:
1159:     case Stmt::ObjCForCollectionStmtClass:
1161:     case Stmt::DoStmtClass: {
1251:   // Classify the current code body for better warning text.
1254:   // FIXME: Should we use a common classification enum and the same set of
1291:     // Classify the weak object being accessed for better warning text.
1831:       .setAlwaysAdd(Stmt::BinaryOperatorClass)
1832:       .setAlwaysAdd(Stmt::CompoundAssignOperatorClass)
1833:       .setAlwaysAdd(Stmt::BlockExprClass)
1834:       .setAlwaysAdd(Stmt::CStyleCastExprClass)
1835:       .setAlwaysAdd(Stmt::DeclRefExprClass)
1836:       .setAlwaysAdd(Stmt::ImplicitCastExprClass)
1837:       .setAlwaysAdd(Stmt::UnaryOperatorClass)
1838:       .setAlwaysAdd(Stmt::AttributedStmtClass);
github.com/llvm-mirror/clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
726:   const DeclRefExpr *Needle;
57:   class UnreachableCodeHandler : public reachable_code::Callback {
126: class LogicalErrorHandler : public CFGCallback {
184:     // Skip function calls which are qualified with a templated class.
721: /// ContainsReference - A visitor class to search for references to
724: class ContainsReference : public ConstEvaluatedExprVisitor<ContainsReference> {
731:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
732:     : Inherited(Context), FoundReference(false), Needle(Needle) {}
743:     if (E == Needle)
1034:   class FallthroughMapper : public RecursiveASTVisitor<FallthroughMapper> {
1503: class UninitValsDiagReporter : public UninitVariablesHandler {
1615: class ThreadSafetyReporter : public clang::threadSafety::ThreadSafetyHandler {
1885: class ConsumedWarningsHandler : public ConsumedWarningsHandlerBase {
264:   // templated classes.
862:     switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) {
869:     case Stmt::IfStmtClass: {
879:     case Stmt::ConditionalOperatorClass: {
889:     case Stmt::BinaryOperatorClass: {
909:     case Stmt::WhileStmtClass:
916:     case Stmt::ForStmtClass:
926:     case Stmt::CXXForRangeStmtClass:
939:     case Stmt::DoStmtClass:
948:     case Stmt::CaseStmtClass:
953:     case Stmt::DefaultStmtClass:
1325:     switch (S->getStmtClass()) {
1326:     case Stmt::ForStmtClass:
1327:     case Stmt::WhileStmtClass:
1328:     case Stmt::CXXForRangeStmtClass:
1329:     case Stmt::ObjCForCollectionStmtClass:
1331:     case Stmt::DoStmtClass: {
1420:   // Classify the current code body for better warning text.
1423:   // FIXME: Should we use a common classification enum and the same set of
1458:     // Classify the weak object being accessed for better warning text.
2078:       .setAlwaysAdd(Stmt::BinaryOperatorClass)
2079:       .setAlwaysAdd(Stmt::CompoundAssignOperatorClass)
2080:       .setAlwaysAdd(Stmt::BlockExprClass)
2081:       .setAlwaysAdd(Stmt::CStyleCastExprClass)
2082:       .setAlwaysAdd(Stmt::DeclRefExprClass)
2083:       .setAlwaysAdd(Stmt::ImplicitCastExprClass)
2084:       .setAlwaysAdd(Stmt::UnaryOperatorClass)
2085:       .setAlwaysAdd(Stmt::AttributedStmtClass);
chromium.googlesource.com/native_client/pnacl-clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
579:   const DeclRefExpr *Needle;
63:   class UnreachableCodeHandler : public reachable_code::Callback {
122: class LogicalErrorHandler : public CFGCallback {
203:         // Skip function calls which are qualified with a templated class.
574: /// ContainsReference - A visitor class to search for references to
577: class ContainsReference : public EvaluatedExprVisitor<ContainsReference> {
582:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
584:       FoundReference(false), Needle(Needle) {}
595:     if (E == Needle)
888:   class FallthroughMapper : public RecursiveASTVisitor<FallthroughMapper> {
1325: class UninitValsDiagReporter : public UninitVariablesHandler {
1442: class ThreadSafetyReporter : public clang::threadSafety::ThreadSafetyHandler {
1713: class ConsumedWarningsHandler : public ConsumedWarningsHandlerBase {
240:   // templated classes.
715:     switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) {
722:     case Stmt::IfStmtClass: {
732:     case Stmt::ConditionalOperatorClass: {
742:     case Stmt::BinaryOperatorClass: {
762:     case Stmt::WhileStmtClass:
769:     case Stmt::ForStmtClass:
779:     case Stmt::CXXForRangeStmtClass:
792:     case Stmt::DoStmtClass:
801:     case Stmt::CaseStmtClass:
806:     case Stmt::DefaultStmtClass:
1152:     switch (S->getStmtClass()) {
1153:     case Stmt::ForStmtClass:
1154:     case Stmt::WhileStmtClass:
1155:     case Stmt::CXXForRangeStmtClass:
1156:     case Stmt::ObjCForCollectionStmtClass:
1158:     case Stmt::DoStmtClass: {
1248:   // Classify the current code body for better warning text.
1251:   // FIXME: Should we use a common classification enum and the same set of
1286:     // Classify the weak object being accessed for better warning text.
1903:       .setAlwaysAdd(Stmt::BinaryOperatorClass)
1904:       .setAlwaysAdd(Stmt::CompoundAssignOperatorClass)
1905:       .setAlwaysAdd(Stmt::BlockExprClass)
1906:       .setAlwaysAdd(Stmt::CStyleCastExprClass)
1907:       .setAlwaysAdd(Stmt::DeclRefExprClass)
1908:       .setAlwaysAdd(Stmt::ImplicitCastExprClass)
1909:       .setAlwaysAdd(Stmt::UnaryOperatorClass)
1910:       .setAlwaysAdd(Stmt::AttributedStmtClass);
android.googlesource.com/platform/external/clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
591:   const DeclRefExpr *Needle;
62:   class UnreachableCodeHandler : public reachable_code::Callback {
121: class LogicalErrorHandler : public CFGCallback {
179:     // Skip function calls which are qualified with a templated class.
586: /// ContainsReference - A visitor class to search for references to
589: class ContainsReference : public ConstEvaluatedExprVisitor<ContainsReference> {
596:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
597:     : Inherited(Context), FoundReference(false), Needle(Needle) {}
608:     if (E == Needle)
899:   class FallthroughMapper : public RecursiveASTVisitor<FallthroughMapper> {
1360: class UninitValsDiagReporter : public UninitVariablesHandler {
1472: class ThreadSafetyReporter : public clang::threadSafety::ThreadSafetyHandler {
1742: class ConsumedWarningsHandler : public ConsumedWarningsHandlerBase {
259:   // templated classes.
727:     switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) {
734:     case Stmt::IfStmtClass: {
744:     case Stmt::ConditionalOperatorClass: {
754:     case Stmt::BinaryOperatorClass: {
774:     case Stmt::WhileStmtClass:
781:     case Stmt::ForStmtClass:
791:     case Stmt::CXXForRangeStmtClass:
804:     case Stmt::DoStmtClass:
813:     case Stmt::CaseStmtClass:
818:     case Stmt::DefaultStmtClass:
1182:     switch (S->getStmtClass()) {
1183:     case Stmt::ForStmtClass:
1184:     case Stmt::WhileStmtClass:
1185:     case Stmt::CXXForRangeStmtClass:
1186:     case Stmt::ObjCForCollectionStmtClass:
1188:     case Stmt::DoStmtClass: {
1277:   // Classify the current code body for better warning text.
1280:   // FIXME: Should we use a common classification enum and the same set of
1315:     // Classify the weak object being accessed for better warning text.
1935:       .setAlwaysAdd(Stmt::BinaryOperatorClass)
1936:       .setAlwaysAdd(Stmt::CompoundAssignOperatorClass)
1937:       .setAlwaysAdd(Stmt::BlockExprClass)
1938:       .setAlwaysAdd(Stmt::CStyleCastExprClass)
1939:       .setAlwaysAdd(Stmt::DeclRefExprClass)
1940:       .setAlwaysAdd(Stmt::ImplicitCastExprClass)
1941:       .setAlwaysAdd(Stmt::UnaryOperatorClass)
1942:       .setAlwaysAdd(Stmt::AttributedStmtClass);
github.com/fuchsia-mirror/third_party-clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
725:   const DeclRefExpr *Needle;
57:   class UnreachableCodeHandler : public reachable_code::Callback {
126: class LogicalErrorHandler : public CFGCallback {
184:     // Skip function calls which are qualified with a templated class.
720: /// ContainsReference - A visitor class to search for references to
723: class ContainsReference : public ConstEvaluatedExprVisitor<ContainsReference> {
730:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
731:     : Inherited(Context), FoundReference(false), Needle(Needle) {}
742:     if (E == Needle)
1033:   class FallthroughMapper : public RecursiveASTVisitor<FallthroughMapper> {
1502: class UninitValsDiagReporter : public UninitVariablesHandler {
1614: class ThreadSafetyReporter : public clang::threadSafety::ThreadSafetyHandler {
1884: class ConsumedWarningsHandler : public ConsumedWarningsHandlerBase {
264:   // templated classes.
861:     switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) {
868:     case Stmt::IfStmtClass: {
878:     case Stmt::ConditionalOperatorClass: {
888:     case Stmt::BinaryOperatorClass: {
908:     case Stmt::WhileStmtClass:
915:     case Stmt::ForStmtClass:
925:     case Stmt::CXXForRangeStmtClass:
938:     case Stmt::DoStmtClass:
947:     case Stmt::CaseStmtClass:
952:     case Stmt::DefaultStmtClass:
1324:     switch (S->getStmtClass()) {
1325:     case Stmt::ForStmtClass:
1326:     case Stmt::WhileStmtClass:
1327:     case Stmt::CXXForRangeStmtClass:
1328:     case Stmt::ObjCForCollectionStmtClass:
1330:     case Stmt::DoStmtClass: {
1419:   // Classify the current code body for better warning text.
1422:   // FIXME: Should we use a common classification enum and the same set of
1457:     // Classify the weak object being accessed for better warning text.
2077:       .setAlwaysAdd(Stmt::BinaryOperatorClass)
2078:       .setAlwaysAdd(Stmt::CompoundAssignOperatorClass)
2079:       .setAlwaysAdd(Stmt::BlockExprClass)
2080:       .setAlwaysAdd(Stmt::CStyleCastExprClass)
2081:       .setAlwaysAdd(Stmt::DeclRefExprClass)
2082:       .setAlwaysAdd(Stmt::ImplicitCastExprClass)
2083:       .setAlwaysAdd(Stmt::UnaryOperatorClass)
2084:       .setAlwaysAdd(Stmt::AttributedStmtClass);
android.googlesource.com/platform/superproject:external/clang/lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++ Duplicate result
chromium.googlesource.com/native_client/nacl-toolchain:gdb/sim/common/sim-fpu.h: [ master, ] c++
89: } sim_fpu_class;
83:   sim_fpu_class_zero,
84:   sim_fpu_class_snan,
85:   sim_fpu_class_qnan,
86:   sim_fpu_class_number,
87:   sim_fpu_class_denorm,
88:   sim_fpu_class_infinity,
92:   sim_fpu_class class;
346: /* General number class and comparison operators.
46:    Needless to say the results, while better than for a packed 64 bit
297: /* Specific number classes.
chromium.googlesource.com/native_client/nacl-gdb:sim/common/sim-fpu.h: [ master, ] c++
89: } sim_fpu_class;
83:   sim_fpu_class_zero,
84:   sim_fpu_class_snan,
85:   sim_fpu_class_qnan,
86:   sim_fpu_class_number,
87:   sim_fpu_class_denorm,
88:   sim_fpu_class_infinity,
92:   sim_fpu_class class;
346: /* General number class and comparison operators.
46:    Needless to say the results, while better than for a packed 64 bit
297: /* Specific number classes.
chromium.googlesource.com/chromium/src/codesearch:third_party/perl/perl/lib/pods/perlobj.pod: [ master, ] pod
600: =head3 Class Names as Strings
772: =head2 The UNIVERSAL Class
168: =head2 A Class is Simply a Package
655: =head2 Invoking Class Methods
36: An object is simply a data structure that knows to which class it
41: A class is simply a package. A class provides methods that expect to
47: (or a package name, for class methods) as the first argument.
59: etc.) that have been explicitly associated with a particular class.
63: class.
70:       my $class = shift;
72:       return bless {}, $class;
81:       my $class = shift;
83:       return bless {}, $class;
88: subroutine that blesses a data structure into a class is a valid
93: and associates the hash with the class in C<$class>. In the simplest
94: case, the C<$class> variable will end up containing the string "File".
100:       my $class = shift;
103:       bless $self, $class;
113:       my $class = shift;
116:       bless $self, $class;
124: store data associated with the object. Typically, code inside the class
126: the class should always treat the object as opaque. This is called
150:   bless $foo, 'Class';
151:   print blessed( $bar );      # prints "Class"
169: X<class> X<package> X<@ISA> X<inheritance>
171: Perl does not provide any special syntax for class definitions. A
173: only difference is that in a class, the subroutines may expect a
174: reference to an object or the name of a class as the first argument.
175: This is purely a matter of convention, so a class may contain both
176: methods and subroutines which I<don't> operate on an object or class.
179: contains a list of that class's parent classes, if any. This array is
193: All classes inherit from the L<UNIVERSAL> class implicitly. The
194: L<UNIVERSAL> class is implemented by the Perl core, and provides
196: The C<UNIVERSAL> class will I<never> appear in a package's C<@ISA>
200: Attribute inheritance is left up the class to implement. See the
209: object or a class name as its first argument.
230: object (or class name), and the right hand side is the method name.
266: When a class inherits from another class, any methods defined in the
267: parent class are available to the child class. If you attempt to call a
268: method on an object that isn't defined in its own class, Perl will also
277: Since we didn't define a C<save()> method in the C<File::MP3> class,
278: Perl will look at the C<File::MP3> class's parent classes to find the
282: In this case, it finds a C<save()> method in the C<File> class. Note
285: class.
287: We can override a parent's method in a child class. When we do so, we
288: can still call the parent class's method with the C<SUPER>
289: pseudo-class.
299: use it for regular subroutine calls or class methods:
303:   SUPER->save($thing);     # FAIL: looks for save() method in class
313: The C<SUPER> pseudo-class is resolved from the package where the call
314: is made. It is I<not> resolved based on the object's class. This is
367: blessed into the C<C> class, the C<speak()> method in the C<B> class
369: parent class of C<B> (i.e the class the method call is in), not in the
370: parent class of C<C> (i.e. the class the object belongs to).
382: To declare multiple parents, you simply need to pass multiple class
403: in the C<Child> class, Perl will look for that method in the C<Parent>
404: class and then, if necessary, in the C<Grandparent> class.
409: When a class has multiple parents, the method lookup order becomes more
416: class's C<@ISA> array and searches from there.
451: C<next> pseudo-class. See the L<mro> documentation for more details on
458: class's parent class or adding subroutines to a class will invalidate
459: the cache for that class.
468: This means that a class must implement its own constructor. A
469: constructor is simply a class method that returns a reference to a new
473: object. Let's write a real constructor for the C<File> class we used
479:       my $class = shift;
485:       }, $class;
494: For our File::MP3 class, we can check to make sure that the path we're
500:       my $class = shift;
506:       return $class->SUPER::new(@_);
509: This constructor lets its parent class do the actual object
524: class, it's considered a best practice to wrap all access to the
537: use the accessors rather than having to know how a parent class is
602: Perl also lets you use a scalar containing a string as a class name:
604:   my $class = 'File';
606:   my $file = $class->new( $path, $data );
645: C<IO::File> class. Once you have an open filehandle, you can call
660: incorrectly. For example, the construct C<< Class->new() >> can be
661: interpreted as either C<< 'Class'->new() >> or C<< Class()->new() >>.
663: named Class(), then call new() as a method on the return value of
664: Class()". If there is a subroutine named C<Class()> in the current
665: namespace, Perl will always interpret C<< Class->new() >> as the second
667: C<Class()>
670: call on the class named "Class") in two ways. First, you can append a
671: C<::> to the class name:
673:     Class::->new()
677: Alternatively, you can quote the class name:
679:     'Class'->new()
681: Of course, if the class name is in a scalar Perl will do the right
684:     my $class = 'Class';
685:     $class->new();
697: This syntax can be used with any class or object method:
705: clear if C<save> is a method provided by the C<File> class or simply a
708: When used with class methods, the problem is even worse. Because Perl
710: whether the bareword after the method is a class name or subroutine
723: You can force Perl to interpret the bareword as a class name by
731: blessed into a class via the C<bless> function. The C<bless> function
734:   my $object = bless {}, $class;
737: In the first form, the anonymous hash is being blessed into the class
738: in C<$class>. In the second form, the anonymous hash is blessed into
759: been blessed into a class named "0". This is a possible, but quite
760: pathological. Don't create a class named "0" unless you know what
765: holds a reference to an object, it will return the name of the class
775: All classes automatically inherit from the L<UNIVERSAL> class, which is
776: built-in to the Perl core. This class provides a number of methods, all
777: of which can be called on either a class or an object. You can also
778: choose to override some of these methods in your class. If you do so,
783: =item isa($class)
787: class in C<$class>, or a member of a subclass of C<$class>.
805: The C<can> method checks to see if the class or object it was called on
806: has a method named C<$method>. This checks for the method in the class
810: If your class responds to method calls via C<AUTOLOAD>, you may want to
819: The C<VERSION> method returns the version number of the class
845: If you call a method that doesn't exist in a class, Perl will throw an
846: error. However, if that class or any of its parent classes defines an
854: C<$AUTOLOAD> package global for your class. Since this is a global, if
885: If your class does have an C<AUTOLOAD> method, we strongly recommend
886: that you override C<can> in your class as well. Your overridden C<can>
900: define a C<DESTROY> method in your class. This method will always be
918: If you define an C<AUTOLOAD> in your class, then Perl will call your
975:       my $class = shift;
978:       return bless \$time, $class;
1018:       my $class = shift;
1020:       my $self = bless \( my $object ), $class;
186: parent classes and make sure that the package doesn't inherit from
189: However the parent classes are set, the package's C<@ISA> variable will
269: look for that method in any parent classes it may have.
307:                            #       classes
406: If Perl cannot find the method in any of these classes, it will die
430: derived classes (i.e. before we tried C<Mother> and
442: terms, "C3" order ensures that shared parent classes are never searched
443: before child classes, so Perl will now search: C<Child>, C<Father>,
450: The C3 order also lets you call methods in sibling classes with the
544: syntax, so classes must provide explicitly written accessor methods.
716: barewords it has previously seen, and other input. Needless to say,
742: of a subclass to reuse the parent's constructor, but you may still run
799: You can also override C<DOES> directly in your own classes. If you
1048: some style guides on constructing both modules and classes.
536: Finally, using accessors makes inheritance much simpler. Subclasses can
chromium.googlesource.com/chromium/deps/perl:perl/lib/pods/perlobj.pod: [ master, ] pod Duplicate result
kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux:drivers/char/xillybus/xillybus_core.c: [ master, ] c
64: static struct class *xillybus_class;
1846: 		device = device_create(xillybus_class,
1868: 		device_destroy(xillybus_class, MKDEV(major, i));
1884: 		device_destroy(xillybus_class, MKDEV(endpoint->major, minor));
2085: 	xillybus_class = class_create(THIS_MODULE, xillyname);
2086: 	if (IS_ERR(xillybus_class))
2087: 		return PTR_ERR(xillybus_class);
2091: 		class_destroy(xillybus_class);
2103: 	class_destroy(xillybus_class);
84:  * They are held for short direct memory manipulations. Needless to say,
github.com/hanwen/artisjokke:needle3d/needle-inserter3.hh: [ master, ] c++
10: class Needle_inserter3 : public Deformation_hook,  public Element_watcher
12:   enum Needle_state {
16:   Needle_state state_;
55:   Needle_inserter3 (Maubach_tree3*, Deformation_state*);
github.com/google/kmsan:drivers/char/xillybus/xillybus_core.c: [ master, ] c
64: static struct class *xillybus_class;
1846: 		device = device_create(xillybus_class,
1868: 		device_destroy(xillybus_class, MKDEV(major, i));
1884: 		device_destroy(xillybus_class, MKDEV(endpoint->major, minor));
2085: 	xillybus_class = class_create(THIS_MODULE, xillyname);
2086: 	if (IS_ERR(xillybus_class))
2087: 		return PTR_ERR(xillybus_class);
2091: 		class_destroy(xillybus_class);
2103: 	class_destroy(xillybus_class);
84:  * They are held for short direct memory manipulations. Needless to say,
github.com/hanwen/artisjokke:needle2d/needle-inserter.hh: [ master, ] c++
13: class Needle_inserter : public Deformation_hook
2:   declare Needle_inserter
54:   Needle_inserter (Maubach_tree*, Deformation_state*);
github.com/google/capsicum-linux:drivers/char/xillybus/xillybus_core.c: [ capsicum, ] c Duplicate result
github.com/gwtproject/gwt:samples/dynatable/src/com/google/gwt/sample/dynatable/server/SchoolCalendarServiceImpl.java: [ master, ] java
52:   private static final int CLASS_LENGTH_MINS = 50;
34: public class SchoolCalendarServiceImpl extends RemoteServiceServlet implements
146:       int absStopMins = absStartMins + CLASS_LENGTH_MINS;
43:       "Crutcher", "Needler", "Wilson", "Chase", "Edelstein"};
168:     generateRandomSchedule(student.getClassSchedule());
gwt.googlesource.com/gwt:samples/dynatable/src/com/google/gwt/sample/dynatable/server/SchoolCalendarServiceImpl.java: [ master, ] java Duplicate result
github.com/google/ktsan:drivers/char/xillybus/xillybus_core.c: [ tsan, ] c
64: static struct class *xillybus_class;
1844: 		device = device_create(xillybus_class,
1866: 		device_destroy(xillybus_class, MKDEV(major, i));
1882: 		device_destroy(xillybus_class, MKDEV(endpoint->major, minor));
2083: 	xillybus_class = class_create(THIS_MODULE, xillyname);
2084: 	if (IS_ERR(xillybus_class))
2085: 		return PTR_ERR(xillybus_class);
2089: 		class_destroy(xillybus_class);
2101: 	class_destroy(xillybus_class);
84:  * They are held for short direct memory manipulations. Needless to say,
chromium.googlesource.com/chromium/codesearch:src:codesearch-gitlink-overlay/third_party/perl/perl/lib/pods/perlobj.pod: [ master, ] pod Duplicate result
github.com/fuchsia-mirror/third_party-binutils-gdb:sim/common/sim-fpu.h: [ master, ] c++
89: } sim_fpu_class;
83:   sim_fpu_class_zero,
84:   sim_fpu_class_snan,
85:   sim_fpu_class_qnan,
86:   sim_fpu_class_number,
87:   sim_fpu_class_denorm,
88:   sim_fpu_class_infinity,
92:   sim_fpu_class class;
346: /* General number class and comparison operators.
46:    Needless to say the results, while better than for a packed 64 bit
297: /* Specific number classes.
github.com/fuchsia-mirror/third_party-gdb:sim/common/sim-fpu.h: [ master, ] c++
89: } sim_fpu_class;
83:   sim_fpu_class_zero,
84:   sim_fpu_class_snan,
85:   sim_fpu_class_qnan,
86:   sim_fpu_class_number,
87:   sim_fpu_class_denorm,
88:   sim_fpu_class_infinity,
92:   sim_fpu_class class;
346: /* General number class and comparison operators.
46:    Needless to say the results, while better than for a packed 64 bit
297: /* Specific number classes.
github.com/gwtproject/gwt:user/test/com/google/gwt/uibinder/test/client/NeedlesslyAnnotatedLabel.java: [ master, ] java
25: public class NeedlesslyAnnotatedLabel extends Label {
26:   @UiConstructor public NeedlesslyAnnotatedLabel() {
gwt.googlesource.com/gwt:user/test/com/google/gwt/uibinder/test/client/NeedlesslyAnnotatedLabel.java: [ master, ] java Duplicate result
github.com/google/error-prone:check_api/src/test/java/com/google/errorprone/names/NeedlemanWunschEditDistanceTest.java: [ master, ] java
27: public class NeedlemanWunschEditDistanceTest {
26: @RunWith(JUnit4.class)
25: /** Tests for NeedlemanWunschEditDistance */
34:         NeedlemanWunschEditDistance.getEditDistance(
47:         NeedlemanWunschEditDistance.getEditDistance(
62:         NeedlemanWunschEditDistance.getWorstCaseEditDistance(
github.com/google/error-prone:check_api/src/main/java/com/google/errorprone/names/NeedlemanWunschEditDistance.java: [ master, ] java
30: public final class NeedlemanWunschEditDistance {
32:   private NeedlemanWunschEditDistance() {
20:  * The Needleman-Wunsch algorithm for finding least-cost string edit distances between pairs of
26:  * <p>See http://en.wikipedia.org/wiki/Needleman-Wunsch_algorithm
github.com/apache/kudu:www/epoch.0.5.2.min.js: [ master, ] javascript
78: return this.drawNeedle()}};d.prototype.drawNeedle=function(){var c,a,d;d=[this.centerX(),this.centerY(),this.radius()];c=d[0];a=d[1];d=d[2];this.setStyles(".epoch .gauge .needle");this.ctx.beginPath();this.ctx.save();this.ctx.translate(c,a);this.ctx.rotate(this.getAngle(this.value));this.ctx.moveTo(4*this.pixelRatio,0);this.ctx.lineTo(-4*this.pixelRatio,0);this.ctx.lineTo(-1*this.pixelRatio,19-d);this.ctx.lineTo(1,19-d);this.ctx.fill();this.setStyles(".epoch .gauge .needle-base");this.ctx.beginPath();
24: if(this.hasAxis("right"))return this.svg.selectAll(".y.axis.right").transition().duration(500).ease("linear").call(this.rightAxis())};d.prototype._drawAxes=function(){this.hasAxis("bottom")&&this.svg.append("g").attr("class","x axis bottom").attr("transform","translate(0, "+this.innerHeight()+")").call(this.bottomAxis());this.hasAxis("top")&&this.svg.append("g").attr("class","x axis top").call(this.topAxis());this.hasAxis("left")&&this.svg.append("g").attr("class","y axis left").call(this.leftAxis());
25: this.hasAxis("right")&&this.svg.append("g").attr("class","y axis right").attr("transform","translate("+this.innerWidth()+", 0)").call(this.rightAxis());return this._axesDrawn=!0};return d}(Epoch.Chart.SVG)}).call(this);
28: a.enter().append("g").attr("class",function(a){return a.className});a.append("path").attr("class","area").attr("d",function(a){return c(a.values)});return e.__super__.draw.call(this)};return e}(Epoch.Chart.Plot)}).call(this);
34: function(a){return"translate("+e(a.group)+", 0)"});a.enter().append("g").attr("class","layer").attr("transform",function(a){return"translate("+e(a.group)+", 0)"});d=a.selectAll("rect").data(function(a){return a.values});d.transition().duration(600).attr("x",function(a){return f(a.label)}).attr("y",function(a){return t(a.y)}).attr("width",f.rangeBand()).attr("height",function(a){return c-t(a.y)});d.enter().append("rect").attr("class",function(a){return a.className}).attr("x",function(a){return f(a.label)}).attr("y",
36: e(a.group)+")"});a.enter().append("g").attr("class","layer").attr("transform",function(a){return"translate(0, "+e(a.group)+")"});c=a.selectAll("rect").data(function(a){return a.values});c.transition().duration(600).attr("x",function(a){return 0}).attr("y",function(a){return f(a.label)}).attr("height",f.rangeBand()).attr("width",function(a){return d(a.y)});c.enter().append("rect").attr("class",function(a){return a.className}).attr("x",function(a){return 0}).attr("y",function(a){return f(a.label)}).attr("height",
39: this.y(),this.line()][2];c=this.svg.selectAll(".layer").data(this.data,function(a){return a.category});c.select(".line").transition().duration(500).attr("d",function(c){return a(c.values)});c.enter().append("g").attr("class",function(a){return a.className}).append("path").attr("class","line").attr("d",function(c){return a(c.values)});c.exit().transition().duration(750).style("opacity","0").remove();return e.__super__.draw.call(this)};return e}(Epoch.Chart.Plot)}).call(this);
41: this.svg=this.svg.append("g").attr("transform","translate("+this.width/2+", "+this.height/2+")")}var e;m(d,f);e={margin:10,inner:0};d.prototype.draw=function(){var c,a=this;this.svg.selectAll(".arc").remove();c=this.svg.selectAll(".arc").data(this.pie(this.data),function(a){return a.data.category});c.enter().append("g").attr("class",function(a){return"arc pie "+a.data.className});c.select("path").attr("d",this.arc);c.select("text").attr("transform",function(c){return"translate("+a.arc.centroid(c)+
44: this.y()];h=c[0];e=c[1];a=this.svg.selectAll(".layer").data(this.data,function(a){return a.category});a.enter().append("g").attr("class",function(a){return a.className});c=a.selectAll(".dot").data(function(a){return a.values});c.transition().duration(500).attr("cx",function(a){return h(a.x)}).attr("cy",function(a){return e(a.y)});c.enter().append("circle").attr("class","dot").attr("r",this.options.radius).attr("cx",function(a){return h(a.x)}).attr("cy",function(a){return e(a.y)});c.exit().transition().duration(750).style("opacity",
50: t.push(this.data.push(d));return t};e.prototype._offsetX=function(){return 0};e.prototype._prepareTimeAxes=function(){var a,c,d,e,f;this.hasAxis("bottom")&&(a=this.bottomAxis=this.svg.append("g").attr("class","x axis bottom canvas").attr("transform","translate("+(this.margins.left-1)+", "+(this.innerHeight()/this.pixelRatio+this.margins.top)+")"),a.append("path").attr("class","domain").attr("d","M0,0H"+(this.innerWidth()/this.pixelRatio+1)));this.hasAxis("top")&&(a=this.topAxis=this.svg.append("g").attr("class",
51: "x axis top canvas").attr("transform","translate("+(this.margins.left-1)+", "+this.margins.top+")"),a.append("path").attr("class","domain").attr("d","M0,0H"+(this.innerWidth()/this.pixelRatio+1)));e=this.options.ticks.time;this._ticks=[];this._tickTimer=e;f=this.data;c=0;for(d=f.length;c<d;c++)if(a=f[c],null!=a.values&&0<a.values.length){d=[this.options.windowSize-1,a.values.length-1];c=d[0];for(d=d[1];0<=c&&0<=d;)this._pushTick(c,a.values[d].time,!1,!0),c-=e,d-=e;break}return[]};e.prototype._prepareRangeAxes=
52: function(){this.hasAxis("left")&&this.svg.append("g").attr("class","y axis left").attr("transform","translate("+(this.margins.left-1)+", "+this.margins.top+")").call(this.leftAxis());if(this.hasAxis("right"))return this.svg.append("g").attr("class","y axis right").attr("transform","translate("+(this.width-this.margins.right)+", "+this.margins.top+")").call(this.rightAxis())};e.prototype.leftAxis=function(){var a,c;c=this.options.ticks.left;a=d3.svg.axis().scale(this.ySvg()).orient("left").tickFormat(this.options.tickFormats.left);
59: a,!0),!(0<=this._ticks[0].x-this.w()/this.pixelRatio))return this._ticks[0].exit=!0};e.prototype._pushTick=function(a,c,d,e){null==d&&(d=!1);null==e&&(e=!1);if(this.hasAxis("top")||this.hasAxis("bottom"))return c={time:c,x:a*(this.w()/this.pixelRatio)+this._offsetX(),opacity:d?0:1,enter:d?!0:!1,exit:!1},this.hasAxis("bottom")&&(a=this.bottomAxis.append("g").attr("class","tick major").attr("transform","translate("+(c.x+1)+",0)").style("opacity",c.opacity),a.append("line").attr("y2",6),a.append("text").attr("text-anchor",
60: "middle").attr("dy",19).text(this.options.tickFormats.bottom(c.time)),c.bottomEl=jQuery(a[0])),this.hasAxis("top")&&(a=this.topAxis.append("g").attr("class","tick major").attr("transform","translate("+(c.x+1)+",0)").style("opacity",c.opacity),a.append("line").attr("y2",-6),a.append("text").attr("text-anchor","middle").attr("dy",-10).text(this.options.tickFormats.top(c.time)),c.topEl=jQuery(a[0])),e?this._ticks.unshift(c):this._ticks.push(c),c};e.prototype._shiftTick=function(){var a;if(0<this._ticks.length&&
73: this.svg=d3.select(this.el.get(0)).insert("svg",":first-child").attr("width",this.width).attr("height",this.height).attr("class","gauge-labels");jQuery(this.svg[0]).css({position:"absolute","z-index":"1"});this.svg.append("g").attr("transform","translate("+this.textX()+", "+this.textY()+")").append("text").attr("class","value").text(this.options.format(this.value));this.animation={interval:null,active:!1,delta:0,target:0};this._animate=function(){Math.abs(a.animation.target-a.value)<Math.abs(a.animation.delta)?
2: y=!0;if(k=x.replace(a,function(a,l,f,y,k,w){l&&(e(),"-"==l||"+"==l?(q=(n=p||q).parentNode,p=null,"+"==l&&(n=n.nextSibling)):("<"==l?q=p=(p||q).parentNode:(","==l?q=s:p&&(q=p),p=null),n=0),p&&(q=p));if((a=!f&&y)||!p&&(f||k))"$"==a?(a=m[++z],q.appendChild(d.createTextNode(a))):(a=a||c.defaultTag,(l=u&&m[z+1]&&m[z+1].name)&&(a="<"+a+' name="'+l+'">'),p=v&&~(h=a.indexOf("|"))?d.createElementNS(v[a.slice(0,h)],a.slice(h+1)):d.createElement(a));if(f)if("$"==y&&(y=m[++z]),"#"==f)p.id=y;else if(l=(a=p.className)&&
3: (" "+a+" ").replace(" "+y+" "," "),"."==f)p.className=a?(l+y).substring(1):y;else if("!"==x){var A;u?c("div",p,"<").innerHTML="":(A=p.parentNode)&&A.removeChild(p)}else l=l.substring(1,l.length-1),l!=a&&(p.className=l);k&&("$"==w&&(w=m[++z]),"style"==k?p.style.cssText=w:(f="!"==k.charAt(0)?(k=k.substring(1))&&"removeAttribute":"setAttribute",w=""===w?k:w,v&&~(h=k.indexOf("|"))?p[f+"NS"](v[k.slice(0,h)],k.slice(h+1),w):p[f](k,w)));return""}))throw new SyntaxError("Unexpected char "+k+" in "+x);e();
13: f;e++)d=a[e],h=["layer"],h.push("category"+c),d.category=c,null!=d.label&&h.push(Epoch.Util.dasherize(d.label)),d.className=h.join(" "),c++;return this.data=a};a.prototype.update=function(a,c){null==c&&(c=!0);this.setData(a);if(c)return this.draw()};a.prototype.draw=function(){};a.prototype.extent=function(a){return[d3.min(this.data,function(c){return d3.min(c.values,a)}),d3.max(this.data,function(c){return d3.max(c.values,a)})]};return a}(Epoch.Events);Epoch.Chart.SVG=function(c){function a(c){this.options=
17: "body")};c.hash=function(a,c){var d;d=jQuery(c).data("epoch-container-id");null==d&&(d=h(),jQuery(c).data("epoch-container-id",d));return""+d+"__"+a};c.getStyles=function(a,h){var d,e,l,f,n,q,p;e=c.hash(a,h);d=c.cache[e];if(null!=d)return d;f=[];q=jQuery(h).parents();d=0;for(n=q.length;d<n;d++){l=q[d];if("body"===l.tagName.toLowerCase())break;f.unshift(l)}f.push(jQuery(h).get(0));d=[];q=0;for(p=f.length;q<p;q++)l=f[q],n=l.tagName.toLowerCase(),null!=l.id&&0<l.id.length&&(n+="#"+l.id),null!=l.className&&
18: 0<l.className.length&&(n+="."+jQuery.trim(l.className).replace(/\s+/g,".")),d.push(n);d.push("svg");q=jQuery.trim(a).split(/\s+/);f=0;for(n=q.length;f<n;f++)l=q[f],d.push(l);for(f=n=put(d.shift());d.length;)l=put(d.shift()),f.appendChild(l),f=l;c.getContainer().append(n);l=jQuery(a,n);f={};p=c.styleList;n=0;for(q=p.length;n<q;n++)d=p[n],f[d]=l.css(d);c.cache[e]=f;c.getContainer().html("");return f};return c}();Epoch.QueryCSS=k}).call(this);
32: this.innerHeight()],0.1)};d.prototype.y1=function(a){var c;return d3.scale.ordinal().domain(function(){var a,d,e,f;e=this.data;f=[];a=0;for(d=e.length;a<d;a++)c=e[a],f.push(c.category);return f}.call(this)).rangeRoundBands([0,a.rangeBand()],0.08)};d.prototype._remapData=function(){var a,c,d,e,f,t,l,y,n,q,p,k;f={};p=this.data;t=0;for(y=p.length;t<y;t++)for(e=p[t],a="bar "+e.className.replace(/\s*layer\s*/,""),k=e.values,l=0,n=k.length;l<n;l++)c=k[l],null==f[q=c.x]&&(f[q]=[]),f[c.x].push({label:e.category,
33: y:c.y,className:a});c=[];for(d in f)a=f[d],c.push({group:d,values:a});return c};d.prototype.draw=function(){"horizontal"===this.options.orientation?this._drawHorizontal():this._drawVertical();return d.__super__.draw.call(this)};d.prototype._drawHorizontal=function(){var a,c,d,e,f,t;a=[this.x(),this.y()];e=a[0];t=a[1];f=this.x1(e);c=this.height-this.margins.top-this.margins.bottom;a=this._remapData();a=this.svg.selectAll(".layer").data(a,function(a){return a.group});a.transition().duration(750).attr("transform",
49: margins:{top:25,right:50,bottom:25,left:50},axes:["bottom"],ticks:{time:15,left:5,right:5},tickFormats:{top:Epoch.Formats.seconds,bottom:Epoch.Formats.seconds,left:Epoch.Formats.si,right:Epoch.Formats.si}};e.prototype.setData=function(a){var c,d,e,f,t;this.data=[];t=[];for(e in a)f=a[e],d=Epoch.Util.copy(f),c=Math.max(0,f.values.length-this.options.historySize),d.values=f.values.slice(c),c=["layer"],c.push("category"+((e|0)+1)),null!=f.label&&c.push(Epoch.Util.dasherize(f.label)),d.className=c.join(" "),
65: (function(){var k,m={}.hasOwnProperty,f=function(d,e){function c(){this.constructor=d}for(var a in e)m.call(e,a)&&(d[a]=e[a]);c.prototype=e.prototype;d.prototype=new c;d.__super__=e.prototype;return d};Epoch.Time.Area=function(d){function e(){return k=e.__super__.constructor.apply(this,arguments)}f(e,d);e.prototype.setStyles=function(c){c=null!=c.className?this.getStyles("g."+c.className.replace(/\s/g,".")+" path.area"):this.getStyles("g path.area");this.ctx.fillStyle=c.fill;null!=c.stroke&&(this.ctx.strokeStyle=
70: null==c.stroke||"none"===c.stroke?"transparent":c.stroke;if(null!=c["stroke-width"])return this.ctx.lineWidth=c["stroke-width"].replace("px","")};e.prototype.draw=function(c){var a,d,e,f,s,t,l,k,n,q,p,m,A,z,x,w,B;null==c&&(c=0);if(this.isVisible()){this.clear();A=[this.y(),this.w()];m=A[0];p=A[1];x=this.data;B=[];A=0;for(z=x.length;A<z;A++)n=x[A],0<n.values.length&&(this.setStyles(n.className),w=[this.options.windowSize,n.values.length,this.inTransition()],t=w[0],k=w[1],l=(q=w[2])?-1:0,B.push(function(){var w,
86: p.length;e<n;e++){q=p[e];l=q.values[a];z=l.buckets;for(d in z)f=z[d],B[d]+=f;C+=l.max;f=this.getStyles("."+q.className.split(" ").join(".")+" rect.bucket");l.color=f.fill;k.push(l)}q=c*A;this.p.clearRect(q,0,A,this.paintHeight);n=this.options.buckets;w=[];for(d in B){f=B[d];e=this._avgLab(k,d);z=p=0;for(x=k.length;z<x;z++)l=k[z],p+=l.buckets[d]/f*C;if(0<f||this.options.paintZeroValues)this.p.fillStyle=this._computeColor(f,p,e),this.p.fillRect(q,(n-1)*m,A-this.options.bucketPadding,m-this.options.bucketPadding);
90: "")};e.prototype.y=function(){return d3.scale.linear().domain(this.extent(function(c){return c.y})).range([this.innerHeight()-this.pixelRatio/2,this.pixelRatio])};e.prototype.draw=function(c){var a,d,e,f,k,m,l,y,n,q,p;null==c&&(c=0);this.clear();d=[this.y(),this.w()];l=d[0];m=d[1];q=this.data;p=[];y=0;for(n=q.length;y<n;y++)if(f=q[y],0<f.values.length){this.setStyles(f.className);this.ctx.beginPath();k=[this.options.windowSize,f.values.length,this.inTransition()];d=k[0];e=k[1];for(k=k[2];-2<=--d&&
chromium.googlesource.com/arc/arc:third_party/chromium-ppapi/third_party/WebKit/PerformanceTests/Speedometer/resources/main.js: [ master, ] javascript
105:     _updateGaugeNeedle: function (rpm) {
36:         this._updateGaugeNeedle(results.mean);
215:     currentSectionElement.classList.remove('selected');
216:     newSectionElement.classList.add('selected');
109:         var gaugeNeedleElement = document.querySelector('#summarized-results > .gauge .needle');
110:         gaugeNeedleElement.style.setProperty('-webkit-transform', needleRotationValue);
111:         gaugeNeedleElement.style.setProperty('-moz-transform', needleRotationValue);
112:         gaugeNeedleElement.style.setProperty('-ms-transform', needleRotationValue);
113:         gaugeNeedleElement.style.setProperty('transform', needleRotationValue);
chromium.googlesource.com/chromium/src:native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ master, ] c++
266: void MouseLockInstance::DrawNeedle(pp::ImageData* image,
46:   RequestInputEvents(PP_INPUTEVENT_CLASS_MOUSE | PP_INPUTEVENT_CLASS_KEYBOARD);
348: class MouseLockModule : public pp::Module {
216:   DrawNeedle(&image, kForegroundColor);
269:     Log("DrawNeedle with NULL image");
chromium.googlesource.com/ios-chromium-mirror:native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ master, ] c++ Duplicate result
github.com/chromium/chromium:native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ master, ] c++ Duplicate result
chromium.googlesource.com/ios-chromium-mirror:third_party/WebKit/PerformanceTests/Speedometer/resources/main.js: [ master, ] javascript Duplicate result
chromium.googlesource.com/chromium/src:third_party/WebKit/PerformanceTests/Speedometer/resources/main.js: [ master, ] javascript Duplicate result
github.com/chromium/chromium:third_party/WebKit/PerformanceTests/Speedometer/resources/main.js: [ master, ] javascript Duplicate result
chromium.googlesource.com/arc/arc:third_party/android/external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ master, ] c++ Duplicate result
chromium.googlesource.com/dart/dartium/src:native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ master, ] c++ Duplicate result
chromium.googlesource.com/chromium/src/third_party:WebKit/PerformanceTests/Speedometer/resources/main.js: [ master, ] javascript Duplicate result
github.com/GoogleCloudPlatform/IoT-Icebreaker:appengine/sensordata-to-ui/public/third_party/epoch/epoch.js: [ master, ] javascript
3412:   Gauge.prototype.drawNeedle = function() {
1661:       this.g.append("g").attr("class", "x axis bottom").attr("transform", "translate(0, " + (this.innerHeight()) + ")").call(this.bottomAxis());
1664:       this.g.append("g").attr('class', 'x axis top').call(this.topAxis());
1667:       this.g.append("g").attr("class", "y axis left").call(this.leftAxis());
1670:       this.g.append('g').attr('class', 'y axis right').attr('transform', "translate(" + (this.innerWidth()) + ", 0)").call(this.rightAxis());
1802:     layer.enter().append('g').attr('class', function(d) {
1805:     layer.append('path').attr('class', 'area').attr('d', function(d) {
1985:     layer.enter().append("g").attr('class', 'layer').attr("transform", function(d) {
1991:     rects.attr('class', function(d) {
2001:     rects.enter().append('rect').attr('class', function(d) {
2026:     layer.enter().append("g").attr('class', 'layer').attr("transform", function(d) {
2032:     rects.attr('class', function(d) {
2042:     rects.enter().append('rect').attr('class', function(d) {
2270:     layer.enter().append('g').attr('class', function(l) {
2272:     }).append('path').attr('class', 'line').attr('d', (function(_this) {
2326:     arcs.enter().append('g').attr('class', function(d) {
2393:     layer.enter().append('g').attr('class', function(d) {
2407:     dots.enter().append('circle').attr('class', 'dot').attr("r", function(d) {
2582:       axis = this.bottomAxis = this.svg.append('g').attr('class', "x axis bottom canvas").attr('transform', "translate(" + (this.margins.left - 1) + ", " + (this.innerHeight() / this.pixelRatio + this.margins.top) + ")");
2583:       axis.append('path').attr('class', 'domain').attr('d', "M0,0H" + (this.innerWidth() / this.pixelRatio + 1));
2586:       axis = this.topAxis = this.svg.append('g').attr('class', "x axis top canvas").attr('transform', "translate(" + (this.margins.left - 1) + ", " + this.margins.top + ")");
2587:       axis.append('path').attr('class', 'domain').attr('d', "M0,0H" + (this.innerWidth() / this.pixelRatio + 1));
2623:       this.svg.append("g").attr("class", "y axis left").attr('transform', "translate(" + (this.margins.left - 1) + ", " + this.margins.top + ")").call(this.leftAxis());
2626:       return this.svg.append('g').attr('class', 'y axis right').attr('transform', "translate(" + (this.width - this.margins.right) + ", " + this.margins.top + ")").call(this.rightAxis());
2844:       g = this.bottomAxis.append('g').attr('class', 'tick major').attr('transform', "translate(" + (tick.x + 1) + ",0)").style('opacity', tick.opacity);
2850:       g = this.topAxis.append('g').attr('class', 'tick major').attr('transform', "translate(" + (tick.x + 1) + ",0)").style('opacity', tick.opacity);
3297:     this.svg = this.el.insert('svg', ':first-child').attr('width', this.width).attr('height', this.height).attr('class', 'gauge-labels');
3302:     this.svg.append('g').attr('transform', "translate(" + (this.textX()) + ", " + (this.textY()) + ")").append('text').attr('class', 'value').text(this.options.format(this.value));
438: Epoch.Chart.Base = (function(superClass) {
441:   extend(Base, superClass);
585:     var category, classes, i, layer, len;
589:       classes = ['layer'];
590:       classes.push("category" + category);
594:         classes.push(Epoch.Util.dasherize(layer.label));
596:       layer.className = classes.join(' ');
758: Epoch.Chart.SVG = (function(superClass) {
759:   extend(SVG, superClass);
785: Epoch.Chart.Canvas = (function(superClass) {
786:   extend(Canvas, superClass);
872:     var classNames, element, id, match, tag, whole;
877:     whole = match[0], tag = match[1], id = match[2], classNames = match[3];
883:     if (classNames != null) {
884:       element.className = classNames.substr(1).replace(/\./g, ' ');
945:       if ((element.className != null) && element.className.length > 0) {
946:         sel += '.' + Epoch.Util.trim(element.className).replace(/\s+/g, '.');
1469: Epoch.Model = (function(superClass) {
1472:   extend(Model, superClass);
1524: Epoch.Chart.Plot = (function(superClass) {
1527:   extend(Plot, superClass);
1744: Epoch.Chart.Area = (function(superClass) {
1745:   extend(Area, superClass);
1803:       return d.className;
1818: Epoch.Chart.Bar = (function(superClass) {
1821:   extend(Bar, superClass);
1933:     var className, entry, j, k, l, layer, len, len1, map, name, ref, ref1, results, v;
1938:       className = 'bar ' + layer.className.replace(/\s*layer\s*/, '');
1948:           className: className
1992:       return d.className;
2002:       return d.className;
2033:       return d.className;
2043:       return d.className;
2135: Epoch.Chart.Histogram = (function(superClass) {
2138:   extend(Histogram, superClass);
2233: Epoch.Chart.Line = (function(superClass) {
2234:   extend(Line, superClass);
2271:       return l.className;
2288: Epoch.Chart.Pie = (function(superClass) {
2291:   extend(Pie, superClass);
2327:       return "arc pie " + d.data.className;
2365: Epoch.Chart.Scatter = (function(superClass) {
2368:   extend(Scatter, superClass);
2394:       return d.className;
2431: Epoch.Time.Plot = (function(superClass) {
2434:   extend(Plot, superClass);
2555:     var classes, copy, data, i, layer, start;
2563:       classes = ['layer'];
2564:       classes.push("category" + ((i | 0) + 1));
2566:         classes.push(Epoch.Util.dasherize(layer.label));
2568:       copy.className = classes.join(' ');
2989: Epoch.Time.Stack = (function(superClass) {
2990:   extend(Stack, superClass);
3074: Epoch.Time.Area = (function(superClass) {
3075:   extend(Area, superClass);
3089:     if ((layer != null) && (layer.className != null)) {
3090:       styles = this.getStyles("g." + (layer.className.replace(/\s/g, '.')) + " path.area");
3192: Epoch.Time.Bar = (function(superClass) {
3193:   extend(Bar, superClass);
3209:   Bar.prototype.setStyles = function(className) {
3211:     styles = this.getStyles("rect.bar." + (className.replace(/\s/g, '.')));
3236:       this.setStyles(layer.className);
3260: Epoch.Time.Gauge = (function(superClass) {
3263:   extend(Gauge, superClass);
3408:     this.drawNeedle();
3460: Epoch.Time.Heatmap = (function(superClass) {
3463:   extend(Heatmap, superClass);
3668:       styles = this.getStyles("." + (layer.className.split(' ').join('.')) + " rect.bucket");
3773: Epoch.Time.Line = (function(superClass) {
3774:   extend(Line, superClass);
3786:   Line.prototype.setStyles = function(className) {
3788:     styles = this.getStyles("g." + (className.replace(/\s/g, '.')) + " path.line");
3807:       this.setStyles(layer.className);
chromium.googlesource.com/chromium/codesearch:src/third_party/WebKit/PerformanceTests/Speedometer/resources/main.js: [ master, ] javascript Duplicate result
github.com/google/pepper.js:examples/mouselock/mouselock.cc: [ master, ] c++
268: void MouseLockInstance::DrawNeedle(pp::ImageData* image,
48:   RequestInputEvents(PP_INPUTEVENT_CLASS_MOUSE |
49:                      PP_INPUTEVENT_CLASS_KEYBOARD);
355: class MouseLockModule : public pp::Module {
217:   DrawNeedle(&image, kForegroundColor);
271:     Log("DrawNeedle with NULL image");
github.com/googleglass/gdk-compass-sample:app/src/main/java/com/google/android/glass/sample/compass/CompassView.java: [ master, ] java
341:     private void drawNeedle(Canvas canvas, boolean bottom) {
50: public class CompassView extends View {
217:         drawNeedle(canvas, false);
218:         drawNeedle(canvas, true);
chromium.googlesource.com/chromium:native_client_sdk/src/examples/mouselock/mouselock.cc: [ trunk, ] c++
241: void MouseLockInstance::DrawNeedle(pp::ImageData* image,
49:   RequestInputEvents(PP_INPUTEVENT_CLASS_MOUSE |
50:                      PP_INPUTEVENT_CLASS_KEYBOARD);
324: class MouseLockModule : public pp::Module {
193:   DrawNeedle(&image, foreground_color);
244:     Log("DrawNeedle with NULL image");
android.googlesource.com/platform/external/chromium_org:native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ master, ] c++ Duplicate result
github.com/bazelbuild/bazel:src/main/java/com/google/devtools/build/lib/rules/android/AndroidCommon.java: [ master, ] java
130:   private Artifact classJar;
134:   private Artifact genClassJar;
136:   private Artifact resourceClassJar;
824:   public Artifact getResourceClassJar() {
78:  * A helper class for android rules.
83: public class AndroidCommon {
95:       RuleContext ruleContext, Mode mode, final Class<T> classType) {
181:         AnalysisUtils.getProviders(deps, AndroidNeverLinkLibrariesProvider.class)) {
188:           JavaInfo.getProvidersFromListOfTargets(JavaCompilationArgsProvider.class, deps)) {
352:       // Needle index is exhausted, so the needle must match.
387:         ruleContext.isLegalFragment(AndroidConfiguration.class)
388:             && ruleContext.getFragment(AndroidConfiguration.class).getExportsManifestDefault();
411:     // We don't actually use the ijar. That is almost the same as the resource class jar
430:         ruleContext.getImplicitOutputArtifact(AndroidRuleClasses.ANDROID_RESOURCES_CLASS_JAR);
437:     // Only build the class jar if it's not already generated internally by resource processing.
458:       // Otherwise, it should have been the AndroidRuleClasses.ANDROID_RESOURCES_CLASS_JAR.
464:                       AndroidRuleClasses.ANDROID_RESOURCES_CLASS_JAR)));
480:     classJar = ruleContext.getImplicitOutputArtifact(AndroidRuleClasses.ANDROID_LIBRARY_CLASS_JAR);
490:                       .getProvider(FileProvider.class)
521:       // Use a fast-path R class generator for android_binary, where there is a bottleneck.
580:              * class, e.g.: "<variable type="some.package.SomeClass" />". Data binding's annotation
709:       builder.add(GeneratedExtensionRegistryProvider.class, generatedExtensionRegistryProvider);
740:         .addProvider(JavaCompilationArgsProvider.class, compilationArgsProvider)
741:         .addProvider(JavaRuleOutputJarsProvider.class, ruleOutputJarsProvider)
742:         .addProvider(JavaSourceJarsProvider.class, sourceJarsProvider)
743:         .addProvider(JavaPluginInfoProvider.class, JavaCommon.getTransitivePlugins(ruleContext))
755:             JavaRuntimeJarProvider.class,
757:         .addProvider(RunfilesProvider.class, RunfilesProvider.simple(getRunfiles()))
760:             AndroidIdeInfoProvider.class,
811:                 .getFragment(AndroidConfiguration.class)
875:     return context.getConfiguration().getFragment(AndroidConfiguration.class);
905:       // But it's still important to process the deps' .bin files so any Java class references get
946:       FileProvider fileProvider = dep.getProvider(FileProvider.class);
963:    * into the same classloader. If the same class exists in both jars, there will be runtime
966:    * <p>R.class files that share the same package are also filtered out to prevent
979:         .addFileTypeToFilter(".class")
981:         .addExplicitFilter("R\\.class")
982:         .addExplicitFilter("R\\$.*\\.class")
985:         .addExplicitFilter("/BR\\.class$")
986:         .addExplicitFilter("/databinding/[^/]+Binding\\.class$")
45: import com.google.devtools.build.lib.packages.RuleClass.ConfiguredTargetFactory.RuleErrorException;
52: import com.google.devtools.build.lib.rules.java.ClasspathConfiguredFragment;
56: import com.google.devtools.build.lib.rules.java.JavaCompilationArgs.ClasspathType;
100:         builder.add(ruleContext.getPrerequisites(attr, mode, classType));
203:       Artifact classesDex,
225:     commandLine.addPrefixedExecPath("--output=", classesDex);
233:             .addOutput(classesDex)
408:     // Add the compiled resource jar to the classpath of the main compilation.
410:     // Add the compiled resource jar to the classpath of consuming targets.
481:     idlHelper = new AndroidIdlHelper(ruleContext, classJar);
532:       // Combined resource constants needs to come even before our own classes that may contain
564:     this.jarsProducedForRuntime = jarsProducedForRuntime.add(classJar).build();
581:              * processor triggers a compile against SomeClass. Because data binding reprocesses
583:              * compile also happens at the top-level binary. Since SomeClass.java is declared in the
592:     helper.addLibrariesToAttributes(javaCommon.targetsTreatedAsDeps(ClasspathType.COMPILE_ONLY));
596:         ruleContext, "android", javaCommon.targetsTreatedAsDeps(ClasspathType.BOTH));
619:       // We only want to add a jar to the classpath of a dependent rule if it has content.
620:       javaArtifactsBuilder.addRuntimeJar(classJar);
621:       jar = classJar;
624:     filesBuilder.add(classJar);
626:     manifestProtoOutput = helper.createManifestProtoOutput(classJar);
631:       genClassJar = helper.createGenJar(classJar);
632:       genSourceJar = helper.createGensrcJar(classJar);
633:       helper.createGenJarAction(classJar, manifestProtoOutput, genClassJar);
642:     nativeHeaderOutput = helper.createNativeHeaderJar(classJar);
644:     outputDepsProto = helper.createOutputDepsProtoArtifact(classJar, javaArtifactsBuilder);
646:         classJar,
677:         new ClasspathConfiguredFragment(
706:     idlHelper.addTransitiveInfoProviders(builder, classJar, manifestProtoOutput);
719:             .addOutputJar(classJar, iJar, ImmutableList.of(srcJar))
734:         builder, javaInfoBuilder, filesToBuild, classJar, ANDROID_COLLECTION_SPEC);
829:    * Returns Jars produced by this rule that may go into the runtime classpath. By contrast {@link
830:    * #getRuntimeJars()} returns the complete runtime classpath needed by this rule, including
851:         javaCommon.targetsTreatedAsDeps(ClasspathType.BOTH), ImmutableList.<String>of());
906:       // re-referenced so they don't get filtered out of the compilation classpath by JavaBuilder
907:       // (which filters out classpath .jars that "aren't used": see --reduce_classpath). If data
922:       compileDeps = JavaCommon.defaultDeps(ruleContext, semantics, ClasspathType.COMPILE_ONLY);
924:       runtimeDeps = JavaCommon.defaultDeps(ruleContext, semantics, ClasspathType.RUNTIME_ONLY);
925:       bothDeps = JavaCommon.defaultDeps(ruleContext, semantics, ClasspathType.BOTH);
961:    * Used for instrumentation tests. Filter out classes from the instrumentation JAR that are also
255:             .setIdlClassJar(idlHelper.getIdlClassJar())
293:     String packageName = JavaUtil.getJavaFullClassname(nameFragment);
405:       boolean useRClassGenerator)
407:     compileResourceJar(javaSemantics, resourceApk, resourcesJar, useRClassGenerator);
409:     attributes.addDirectJars(NestedSetBuilder.create(Order.STABLE_ORDER, resourceClassJar));
414:     artifactsBuilder.addCompileTimeJarAsFullJar(resourceClassJar);
418:     filesBuilder.add(resourceClassJar);
425:       boolean useRClassGenerator)
428:         ruleContext.getImplicitOutputArtifact(AndroidRuleClasses.ANDROID_RESOURCES_SOURCE_JAR);
429:     resourceClassJar =
438:     if (resourceApk.getResourceJavaClassJar() == null) {
439:       if (useRClassGenerator) {
440:         new RClassGeneratorActionBuilder(ruleContext)
444:             .setClassJarOut(resourceClassJar)
448:             javacHelper.createOutputDepsProtoArtifact(resourceClassJar, javaArtifactsBuilder);
450:             resourceClassJar,
461:               .getResourceJavaClassJar()
483:     ImmutableList<Artifact> bootclasspath;
485:       bootclasspath =
489:                       .getPrerequisite("$desugar_java8_extra_bootclasspath", Mode.HOST)
495:       bootclasspath =
505:             .setBootClassPath(bootclasspath);
522:       boolean useRClassGenerator = isBinary;
530:           useRClassGenerator);
534:       artifactsBuilder.addRuntimeJar(resourceClassJar);
535:       jarsProducedForRuntime.add(resourceClassJar);
562:       jarsProducedForRuntime.add(generatedExtensionRegistryProvider.getClassJar());
636:     srcJar = ruleContext.getImplicitOutputArtifact(AndroidRuleClasses.ANDROID_LIBRARY_SOURCE_JAR);
676:     javaCommon.setClassPathFragment(
681:             helper.getBootclasspathOrDefault()));
712:     if (resourceClassJar != null && resourceSourceJar != null) {
713:       resourceJar = new OutputJar(resourceClassJar, null, ImmutableList.of(resourceSourceJar));
736:     javaCommon.addGenJarsProvider(builder, javaInfoBuilder, genClassJar, genSourceJar);
825:     return resourceClassJar;
954:         supportApks.addAll(FileType.filter(fileProvider.getFilesToBuild(), AndroidRuleClasses.APK));
chromium.googlesource.com/chromium/codesearch:src/native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ master, ] c++ Duplicate result
chromium.googlesource.com/chromium/chromium:native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ trunk, ] c++ Duplicate result
chromium.googlesource.com/arc/arc:third_party/chromium-ppapi/native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc: [ master, ] c++ Duplicate result
github.com/apache/incubator-netbeans:openide.windows/test/unit/src/org/openide/windows/PreventNeedlessChangesOfActionMapTest.java: [ master, ] java
36: public class PreventNeedlessChangesOfActionMapTest extends NbTestCase
43:     public PreventNeedlessChangesOfActionMapTest(String s) {
49:         res = tc.getLookup().lookup(new Lookup.Template<ActionMap> (ActionMap.class));
56:         ActionMap am = (ActionMap)tc.getLookup().lookup(ActionMap.class);
73:         ActionMap am2 = (ActionMap)tc.getLookup().lookup(ActionMap.class);
42:     /** Creates a new instance of PreventNeedlessChangesOfActionMapTest */
github.com/apache/maven-integration-testing:core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4356NoNeedlessRelookupFromActiveCollectionTest.java: [ master, ] java
33: public class MavenITmng4356NoNeedlessRelookupFromActiveCollectionTest
37:     public MavenITmng4356NoNeedlessRelookupFromActiveCollectionTest()
49:         File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-4356" );

Took 51.535842ms for 16MB index data, 16533 ngram matches, 780 docs considered, 525 docs (20MB) loaded, 104047 docs and 0 shards skipped