Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 499 for caps (0.19 sec)

  1. cmd/tier.go

    func (config *TierConfigMgr) Add(ctx context.Context, tier madmin.TierConfig, ignoreInUse bool) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier name is in all caps
    	tierName := tier.Name
    	if tierName != strings.ToUpper(tierName) {
    		return errTierNameNotUppercase
    	}
    
    	// check if tier name already in use
    	if _, exists := config.isTierNameInUse(tierName); exists {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     * @author Isaac Shum
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Maps {
      private Maps() {}
    
      private enum EntryFunction implements Function<Entry<?, ?>, @Nullable Object> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/Maps.java

         * @return 指定されたキーと値を持つ{@link HashMap}を構築するための{@literal Maps}
         */
        public static <KEY, VALUE> Maps<KEY, VALUE> hashMap(final KEY key, final VALUE value) {
            return new Maps<>(new HashMap<KEY, VALUE>()).$(key, value);
        }
    
        /**
         * 指定されたキーと値を持つ{@link Hashtable}を構築するための{@literal Maps}を返します。
         *
         * @param <KEY>
         *            <code>Map</code>のキーの型
         * @param <VALUE>
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    	buf := make([]byte, 1024)
    	b.Write(buf[0:1])
    	var cap0 int
    	for i := 0; i < 5<<10; i++ {
    		b.Write(buf)
    		b.Read(buf)
    		if i == 0 {
    			cap0 = b.Cap()
    		}
    	}
    	cap1 := b.Cap()
    	// (*Buffer).grow allows for 2x capacity slop before sliding,
    	// so set our error threshold at 3x.
    	if cap1 > cap0*3 {
    		t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/builtin/builtin.go

    // number c. The return value will be floating point type corresponding to
    // the type of c.
    func imag(c ComplexType) FloatType
    
    // The clear built-in function clears maps and slices.
    // For maps, clear deletes all entries, resulting in an empty map.
    // For slices, clear sets all elements up to the length of the slice
    // to the zero value of the respective element type. If the argument
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper);
    TF_CAPI_EXPORT extern TF_DataType TF_OperationOutputType(TF_Output oper_out);
    TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper,
                                                           const char* arg_name,
                                                           TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  7. tensorflow/c/eager/c_api_experimental.h

    } TFE_CancelCallback;
    TF_CAPI_EXPORT extern TFE_CancellationManager* TFE_NewCancellationManager();
    TF_CAPI_EXPORT extern bool TFE_CancellationManagerIsCancelled(
        TFE_CancellationManager*);
    TF_CAPI_EXPORT extern bool TFE_CancellationManagerIsCancelling(
        TFE_CancellationManager*);
    TF_CAPI_EXPORT extern void TFE_CancellationManagerStartCancel(
        TFE_CancellationManager*);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  8. internal/handlers/forwarder.go

    	if f.RoundTripper == nil {
    		f.RoundTripper = http.DefaultTransport
    	}
    
    	return f
    }
    
    type bufPool struct {
    	sz   int
    	pool sync.Pool
    }
    
    func (b *bufPool) Put(buf []byte) {
    	if cap(buf) < b.sz || cap(buf) > b.sz*2 {
    		// Buffer too small or will likely leak memory after being expanded.
    		// Drop it.
    		return
    	}
    	b.pool.Put(&buf)
    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get().(*[]byte)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        assertTrue(entries.contains(Maps.immutableEntry("a", true)));
        assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null)));
        assertTrue(
            entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null)));
    
        assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

    // overridden per thread using TFE_ContextSetExecutorForThread.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetAsync(TFE_ContextOptions*,
                                                          unsigned char enable);
    
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetDevicePlacementPolicy(
        TFE_ContextOptions*, TFE_ContextDevicePlacementPolicy);
    
    // Destroy an options object.
    TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
Back to top