Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,174 for C_value (0.08 sec)

  1. guava-tests/test/com/google/common/graph/MapCacheTest.java

        mapCache.put("A", "A_value");
        mapCache.put("B", "B_value");
        mapCache.put("C", "C_value");
    
        assertThat(mapCache.unmodifiableKeySet()).hasSize(3);
        for (String key : mapCache.unmodifiableKeySet()) {
          assertThat(mapCache.get(key)).isEqualTo(key + "_value");
        }
      }
    
      @Test
      public void testPutNewValue() {
        assertThat(mapCache.put("key", "value")).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

        mapCache.put("A", "A_value");
        mapCache.put("B", "B_value");
        mapCache.put("C", "C_value");
    
        assertThat(mapCache.unmodifiableKeySet()).hasSize(3);
        for (String key : mapCache.unmodifiableKeySet()) {
          assertThat(mapCache.get(key)).isEqualTo(key + "_value");
        }
      }
    
      @Test
      public void testPutNewValue() {
        assertThat(mapCache.put("key", "value")).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. schema/serializer.go

    func (GobSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) {
    	fieldValue := reflect.New(field.FieldType)
    
    	if dbValue != nil {
    		var bytesValue []byte
    		switch v := dbValue.(type) {
    		case []byte:
    			bytesValue = v
    		default:
    			return fmt.Errorf("failed to unmarshal gob value: %#v", dbValue)
    		}
    		if len(bytesValue) > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tests/serializer_test.go

    	switch value := dbValue.(type) {
    	case []byte:
    		*es = EncryptedString(bytes.TrimPrefix(value, []byte("hello")))
    	case string:
    		*es = EncryptedString(strings.TrimPrefix(value, "hello"))
    	default:
    		return fmt.Errorf("unsupported data %#v", dbValue)
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 21 14:09:38 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
        for (long i = 0; i < reps; i++) {
          rvalue += implLocal.get(numStripesLocal).hashCode();
        }
        return rvalue;
      }
    
      @Benchmark
      long timeGetAt(long reps) {
        long rvalue = 0;
        int[] stripesLocal = stripes;
        int mask = numStripes - 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
        for (long i = 0; i < reps; i++) {
          rvalue += implLocal.get(numStripesLocal).hashCode();
        }
        return rvalue;
      }
    
      @Benchmark
      long timeGetAt(long reps) {
        long rvalue = 0;
        int[] stripesLocal = stripes;
        int mask = numStripes - 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
        assertThat(headers.values("foo")).containsExactly("bar", "baz", "bak")
        assertThat(headers.values("key")).containsExactly("value")
        assertThat(headers.values("ping")).containsExactly("pong")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${a";
            assertEquals(value, ResourceUtil.resolve(value));
    
            value = "$a}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            value = "${abc}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            value = "${abc.xyz}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("abc", "123");
    
            value = "${abc}";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("", value);
    
            value = FessFunctions.maskEmail("aaa bbb ccc");
            assertEquals("aaa bbb ccc", value);
    
            value = FessFunctions.maskEmail("******@****.***");
            assertEquals("******@****.***", value);
    
            value = FessFunctions.maskEmail("******@****.***");
            assertEquals("******@****.***", value);
    
            value = FessFunctions.maskEmail("111 ******@****.*** 222");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/Maps.java

         * @param <VALUE>
         *            <code>Map</code>の値ーの型
         * @param key
         *            <code>Map</code>に追加されるキー
         * @param value
         *            <code>Map</code>に追加される値
         * @return 指定されたキーと値を持つ{@link IdentityHashMap}を構築するための{@literal Maps}
         */
        public static <KEY, VALUE> Maps<KEY, VALUE> identityHashMap(final KEY key, final VALUE value) {
            return new Maps<>(new IdentityHashMap<KEY, VALUE>()).$(key, value);
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top