- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,917 for C_value (0.07 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
initMapWithNullValue(); // putIfAbsent should replace the null value with the new value assertNull( "putIfAbsent(existingKeyWithNullValue, value) should return null", getMap().putIfAbsent(getKeyForNullValue(), v3())); assertEquals("Map should now contain the new value", v3(), getMap().get(getKeyForNullValue())); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 02:04:51 GMT 2025 - 5.4K bytes - Click Count (0) -
internal/lru/lru.go
} // Peek returns the key value (or undefined if not found) without updating // the "recently used"-ness of the key. func (c *LRU[K, V]) Peek(key K) (value V, ok bool) { c.mu.Lock() defer c.mu.Unlock() var ent *Entry[K, V] if ent, ok = c.items[key]; ok { // Expired item check if time.Now().After(ent.ExpiresAt) { return value, false } return ent.Value, true } return }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 12.5K bytes - Click Count (0) -
tests/scanner_valuer_test.go
} type StringsSlice []string func (l StringsSlice) Value() (driver.Value, error) { bytes, err := json.Marshal(l) return string(bytes), err } func (l *StringsSlice) Scan(input interface{}) error { switch value := input.(type) { case string: return json.Unmarshal([]byte(value), l) case []byte: return json.Unmarshal(value, l) default: return errors.New("not supported") } }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
else -> LinkedTags(this.key, this.value, nextMinusKey) } } } // Return a new `Tags` that maps `key` to `value`. return when { value != null -> LinkedTags(key, value, thisMinusKey) else -> thisMinusKey } } override fun <T : Any> get(key: KClass<T>): T? = when { key == this.key -> key.java.cast(value) else -> next[key] }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
AtomicLongMap<String> map = AtomicLongMap.create(); String key = "key"; long value = random.nextInt(MAX_ADDEND); assertEquals(0L, map.get(key)); assertFalse(map.containsKey(key)); assertEquals(value, map.addAndGet(key, value)); assertEquals(value, map.get(key)); assertEquals(0L, map.addAndGet(key, -1 * value)); assertEquals(0L, map.get(key)); assertTrue(map.containsKey(key));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
@Nonnull default MessageBuilder a(CharSequence value, int start, int end) { return append(value, start, end); } /** * Append content to the message buffer. * * @param value the content to append * @return the current builder */ @Nonnull default MessageBuilder a(CharSequence value) { return append(value); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Nov 02 09:29:52 GMT 2024 - 7.6K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial007.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 642 bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
// A simple type whose .toString() will return the same value each time, but without maintaining // a strong reference to that value. static class Key { private final int value; private WeakReference<String> toString; Key(int value) { this.value = value; } @Override public synchronized String toString() { String s;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
tests/test_http_connection_injection.py
app = FastAPI() app.state.value = 42 async def extract_value_from_http_connection(conn: HTTPConnection): return conn.app.state.value @app.get("/http") async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)): return value @app.websocket("/ws") async def get_value_by_ws( websocket: WebSocket, value: int = Depends(extract_value_from_http_connection) ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 09 13:56:41 GMT 2020 - 972 bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
The **default** value of the **function parameter** is the **actual default** value, that's more intuitive with Python in general. 😌
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0)