Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 234 for caps (0.48 sec)

  1. 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)
  2. 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)
  3. 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)
  4. guava/src/com/google/common/collect/AbstractTable.java

        Map<C, V> row = Maps.safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        Map<C, V> row = Maps.safeGet(rowMap(), rowKey);
        return (row == null) ? null : Maps.safeGet(row, columnKey);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  5. 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

    import okhttp3.Request.Builder
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.decodeCertificatePem
    
    class CustomTrust {
      // PEM files for root certificates of Comodo and Entrust. These two CAs are sufficient to view
      // https://publicobject.com (Comodo) and https://squareup.com (Entrust). But they aren't
      // sufficient to connect to most HTTPS sites including https://godaddy.com and https://visa.com.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.8K bytes
    - Viewed (5)
  7. tensorflow/c/env.h

    TF_CAPI_EXPORT extern TF_StringStream* TF_GetLocalTempDirectories(void);
    
    // Creates a temporary file name with an extension.
    // The caller is responsible for freeing the returned pointer.
    TF_CAPI_EXPORT extern char* TF_GetTempFileName(const char* extension);
    
    // Returns the number of nanoseconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.h

    TF_CAPI_EXPORT extern TF_VariableInfo* TF_CreateVariableInfoFromContext(
        TF_OpKernelContext* ctx, int index, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_LockVariableInfos(TF_VariableInfo** vars,
                                                    int num_vars,
                                                    TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_AllocateTempForVariableInfo(
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
        filtered.put("a", 1);
        filtered.put("b", 2);
        assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
    
        try {
          filtered.put("yyy", 3);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top