Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 165 for constructorsOf (0.34 sec)

  1. pkg/kube/multicluster/secretcontroller.go

    }
    
    // BuildMultiClusterComponent constructs a new multicluster component. For each cluster, the constructor will be called.
    // If the cluster is removed, the T.Close() method will be called.
    // Constructors MUST not do blocking IO; they will block other operations.
    // During a cluster update, a new component is constructed before the old one is removed for seamless migration.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/reflect/Invokable.java

        return member.hashCode();
      }
    
      @Override
      public String toString() {
        return member.toString();
      }
    
      /**
       * Returns {@code true} if this is an overridable method. Constructors, private, static or final
       * methods, or methods declared by final classes are not overridable.
       */
      public abstract boolean isOverridable();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

            failure.assertHasCause('The constructor for type Thing should be annotated with @Inject.')
        }
    
        def "object creation fails with ObjectInstantiationException when type has multiple constructors not annotated"() {
            given:
            buildFile """
            class Thing {
                Thing() {}
                Thing(String foo) {}
            }
    
            task fail {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/reflect/Invokable.java

        return member.hashCode();
      }
    
      @Override
      public String toString() {
        return member.toString();
      }
    
      /**
       * Returns {@code true} if this is an overridable method. Constructors, private, static or final
       * methods, or methods declared by final classes are not overridable.
       */
      public abstract boolean isOverridable();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K 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