Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,583 for constructors (2.26 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>The visible constructor or visible static factory method with the most parameters is used
       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>The visible constructor or visible static factory method with the most parameters is used
       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

                if (owner.equals(memberToFind.getOwner())) {
                    return Optional.of(memberToFind);
                }
    
                // only methods can be overridden, while constructors and fields are always referenced directly
                if (memberToFind instanceof JavaMethod) {
                    String[] parameterFqNames = ((JavaMethod) memberToFind).getParameters().stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

     *
     * @author Colin Decker
     */
    public class ByteSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        for (boolean asCharSource : new boolean[] {false, true}) {
          suite.addTest(
              ByteSourceTester.tests(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

            }
    
            CodeBlock maxLocalsVar = CodeBlock.of("maxLocals");
            code.addStatement("int $L = readMethodNode.get().maxLocals", maxLocalsVar);
    
            // Store the constructor arguments in local variables, so that we can duplicate them for both the constructor and the interceptor:
            Type[] params = Type.getArgumentTypes(standardCallableDescriptor(callable));
            for (int i = params.length - 1; i >= 0; i--) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        @Override
        protected void realRun() {
          try {
            delay(LONG_DELAY_MS);
          } catch (InterruptedException ok) {
          }
        }
      }
    
      /** For use as ThreadFactory in constructors */
      public static class SimpleThreadFactory implements ThreadFactory {
        @Override
        public Thread newThread(Runnable r) {
          return new Thread(r);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. src/net/netip/netip_test.go

    	// AddrPort constructors
    	test("AddrPortFrom", func() { sinkAddrPort = AddrPortFrom(IPv4(1, 2, 3, 4), 22) })
    	test("ParseAddrPort", func() { sinkAddrPort = panicIPP(ParseAddrPort("[::1]:1234")) })
    	test("MustParseAddrPort", func() { sinkAddrPort = MustParseAddrPort("[::1]:1234") })
    
    	// Prefix constructors
    	test("PrefixFrom", func() { sinkPrefix = PrefixFrom(IPv4(1, 2, 3, 4), 32) })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  8. src/internal/reflectlite/value.go

    func (v Value) Type() Type {
    	f := v.flag
    	if f == 0 {
    		panic(&ValueError{"reflectlite.Value.Type", abi.Invalid})
    	}
    	// Method values not supported.
    	return toRType(v.typ())
    }
    
    /*
     * constructors
     */
    
    // implemented in package runtime
    
    //go:noescape
    func unsafe_New(*abi.Type) unsafe.Pointer
    
    // ValueOf returns a new Value initialized to the concrete value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/log/slog/value.go

    	case groupptr:
    		return KindGroup
    	case LogValuer:
    		return KindLogValuer
    	case kind: // a kind is just a wrapper for a Kind
    		return KindAny
    	default:
    		return KindAny
    	}
    }
    
    //////////////// Constructors
    
    // StringValue returns a new [Value] for a string.
    func StringValue(value string) Value {
    	return Value{num: uint64(len(value)), any: stringptr(unsafe.StringData(value))}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/log/slog/doc.go

    alternating keys and values. The statement
    
    	slog.Info("hello", slog.Int("count", 3))
    
    behaves the same as
    
    	slog.Info("hello", "count", 3)
    
    There are convenience constructors for [Attr] such as [Int], [String], and [Bool]
    for common types, as well as the function [Any] for constructing Attrs of any
    type.
    
    The value part of an Attr is a type called [Value].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top