Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for getObj (0.16 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          }
    
          Class<?> getClassB() {
            return new TypeToken<B>(getClass()) {}.getRawType();
          }
    
          Red<A> getA() {
            return getSelfA();
          }
    
          Red<B> getB() {
            return getSelfB();
          }
        }
    
        Class<?> getClassDirect() {
          return new TypeToken<A>(getClass()) {}.getRawType();
        }
      }
    
      public void test1() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

            a.delete()
            c.delete()
            file("src/main/$languageName/a/A1.java").text = "package a; class A { void m1() {} }"
            b.text = "package b; $compileStaticAnnotation class B { B getB() { return 0; } }"
            file("src/main/$languageName/c/C1.java").text = "package c; class C { void m1() {} }"
            runAndFail language.compileTaskName
    
            then:
            outputs.noneRecompiled()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

            void get()
    
            void set(String value)
    
            void getProp(String value)
    
            void setProp()
        }
    
        class PropNames {
            String getA() { null }
    
            String getB() { null }
    
            String getURL() { null }
    
            String getUrl() { null }
    
            String get_A() { null }
        }
    
        class BooleanProps {
            boolean prop
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

            public String getURL() {
                return URL;
            }
    
            @Input
            public String getA() {
                return a;
            }
    
            @Input
            public String getb() {
                return b;
            }
        }
        //CHECKSTYLE:ON
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  5. src/database/sql/fakedb_test.go

    	}
    	name := parts[0]
    
    	db := d.getDB(name)
    
    	d.mu.Lock()
    	d.openCount++
    	d.mu.Unlock()
    	conn := &fakeConn{db: db}
    
    	if len(parts) >= 2 && parts[1] == "badConn" {
    		conn.bad = true
    	}
    	if d.waitCh != nil {
    		d.waitingCh <- struct{}{}
    		<-d.waitCh
    		d.waitCh = nil
    		d.waitingCh = nil
    	}
    	return conn, nil
    }
    
    func (d *fakeDriver) getDB(name string) *fakeDB {
    	d.mu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

            where:
            name          | method
            'test'        | 'getTest'
            'testBundle'  | 'getTestBundle'
            'test.bundle' | 'getBundle'
            'test.json'   | 'getJson'
            'a.b'         | 'getB'
        }
    
        def "generates an accessor for #name as version #method"() {
            when:
            generate {
                version(name, '1.0')
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    		// SelectorExpr, but that requires PathEnclosingInterval
    		// from golang.org/x/tools/go/ast/astutil.)
    		if id.Value == "X" {
    			continue
    		}
    
    		_, gotObj := inner.LookupParent(id.Value, id.Pos())
    		if gotObj != wantObj {
    			// Print the scope tree of mainScope in case of error.
    			var printScopeTree func(indent string, s *Scope)
    			printScopeTree = func(indent string, s *Scope) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. src/go/types/api_test.go

    		// SelectorExpr, but that requires PathEnclosingInterval
    		// from golang.org/x/tools/go/ast/astutil.)
    		if id.Name == "X" {
    			continue
    		}
    
    		_, gotObj := inner.LookupParent(id.Name, id.Pos())
    		if gotObj != wantObj {
    			// Print the scope tree of mainScope in case of error.
    			var printScopeTree func(indent string, s *Scope)
    			printScopeTree = func(indent string, s *Scope) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

        abstract boolean isSupportsBuildOperations()
    
        abstract DomainObjectCollection<T> getContainer()
    
        abstract T getA()
    
        abstract T getB()
    
        abstract T getC()
    
        abstract <S extends T> S getD()
    
        Class<T> getType() {
            return a.class
        }
    
        @SuppressWarnings("GrUnnecessaryPublicModifier")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

                 .getElementType()
                 .isF32()) {
          return failure();
        }
        MLIRContext *context = rewriter.getContext();
        llvm::SmallVector<Value, 2> operands{op.getA(), op.getB()};
        for (Value &operand : operands) {
          TensorType tensor_type = mlir::cast<TensorType>(operand.getType());
          Type element_type = tensor_type.getElementType();
          if (element_type.isF32()) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top