- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,287 for z_value (0.03 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
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 Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 20 08:45:38 UTC 2024 - 4.6K bytes - Viewed (0) -
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 Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
*/ public static <KEY, VALUE> Maps<KEY, VALUE> hashMap(final KEY key, final VALUE value) { return new Maps<>(new HashMap<KEY, VALUE>()).$(key, value); } /** * Returns a {@literal Maps} for constructing a {@link Hashtable} with the specified key and value. * * @param <KEY> the key type of the <code>Map</code> * @param <VALUE> the value type of the <code>Map</code>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 7.2K bytes - Viewed (0) -
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 Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
// Test with a value within the byte range NdrSmall ndrSmall = new NdrSmall(123); assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input."); } @Test void testConstructor_maxValue() { // Test with the maximum byte value NdrSmall ndrSmall = new NdrSmall(255);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple3.java
* @param <T1> * The type of the first value * @param <T2> * The type of the second value * @param <T3> * The type of the third value */ public class Tuple3<T1, T2, T3> { /** The first value */ protected T1 value1; /** The second value */ protected T2 value2; /** The third value */ protected T3 value3; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/metrics-v2_test.go
} if value := capitalPutObjects[0].Value; value != 1 { t.Errorf("Expected le='0.050' api=PutObject value to be 1 but got '%v'", value) } if le := capitalPutObjects[1].VariableLabels["le"]; le != "5.000" { t.Errorf("Expected le='5.000' api=PutObject metrics but got '%v'", le) } if value := capitalPutObjects[1].Value; value != 2 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleType.java
*/ PERSISTENT(3); private final int value; HandleType(int value) { this.value = value; } /** * Get the numeric value of this handle type * @return the numeric value */ public int getValue() { return value; } /** * Get HandleType from numeric value * @param value the numeric value * @return the corresponding HandleType */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.7K bytes - Viewed (0)