Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,094 for Phan (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
       * type other than {@code Object[]}.
       */
      public void testToArray_isPlainObjectArray() {
        Object[] array = collection.toArray();
        assertEquals(Object[].class, array.getClass());
      }
    
      public void testToArray_emptyArray() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        return backingMap.get(element);
      }
    
      // Optional Operations - Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the call would result in more than {@link
       *     Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
       */
      @CanIgnoreReturnValue
      @Override
      public final int add(@ParametricNullness E element, int occurrences) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MoreCollectors.java

        return (Collector) ONLY_ELEMENT;
      }
    
      /**
       * This atrocity is here to let us report several of the elements in the stream if there were more
       * than one, not just two.
       */
      private static final class ToOptionalState {
        static final int MAX_EXTRAS = 4;
    
        @CheckForNull Object element;
        List<Object> extras;
    
        ToOptionalState() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/DoubleUtils.java

        long signifFloor = twiceSignifFloor >> 1;
        signifFloor &= SIGNIFICAND_MASK; // remove the implied bit
    
        /*
         * We round up if either the fractional part of signif is strictly greater than 0.5 (which is
         * true if the 0.5 bit is set and any lower bit is set), or if the fractional part of signif is
         * >= 0.5 and signifFloor is odd (which is true if both the 0.5 bit and the 1 bit are set).
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

              return UnmodifiableEntry.transformEntries(super.iterator());
            }
    
            @Override
            public Object[] toArray() {
              /*
               * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it
               * can be used with collections that may contain null. This collection is a collection of
               * non-null Entry objects (Entry objects that might contain null values but are not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. utils/utils_test.go

    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    			name:     "Trim length greater than slice length",
    			input:    []int{1, 2, 3},
    			trimLen:  5,
    			expected: []int{},
    		},
    		{
    			name:     "Zero trim length",
    			input:    []int{1, 2, 3},
    			trimLen:  0,
    			expected: []int{1, 2, 3},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. internal/config/etcd/etcd.go

    		Encoding: "console",
    	}
    	cfg.Endpoints = etcdEndpoints
    	cfg.CoreDNSPath = env.Get(EnvEtcdCoreDNSPath, kvs.Get(CoreDNSPath))
    	// Default path prefix for all keys on etcd, other than CoreDNSPath.
    	cfg.PathPrefix = env.Get(EnvEtcdPathPrefix, kvs.Get(PathPrefix))
    	if etcdSecure {
    		cfg.TLS = &tls.Config{
    			RootCAs:                  rootCAs,
    			PreferServerCipherSuites: true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 23:17:22 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      //
      // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
      //
      // The value of this field can be more than 100, implying that this
      // priority level can borrow a number of seats that is greater than
      // its own nominal concurrency limit (NominalCL).
      // When this field is left `nil`, the limit is effectively infinite.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      //
      // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
      //
      // The value of this field can be more than 100, implying that this
      // priority level can borrow a number of seats that is greater than
      // its own nominal concurrency limit (NominalCL).
      // When this field is left `nil`, the limit is effectively infinite.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    		// Part with size larger than 5 MiB.
    		{bucketName, objectName, uploadIDs[0], 5, string(validPart), validPartMD5, int64(len(validPart))},
    		{bucketName, objectName, uploadIDs[0], 6, string(validPart), validPartMD5, int64(len(validPart))},
    
    		// Part with size larger than 5 MiB.
    		// Parts uploaded for anonymous/unsigned API handler test.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top