- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 27 for sentinel (0.05 seconds)
-
cmd/erasure-healing-common.go
return etag } return "" } // Beginning of unix time is treated as sentinel value here. var ( timeSentinel = time.Unix(0, 0).UTC() timeSentinel1970 = time.Unix(0, 1).UTC() // 1970 used for special cases when xlmeta.version == 0 ) // Boot modTimes up to disk count, setting the value to time sentinel. func bootModtimes(diskCount int) []time.Time { modTimes := make([]time.Time, diskCount)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
private static final String CONFIG_PROP_RELOCATIONS_ENTRIES = "maven.relocations.entries"; private static final Artifact SENTINEL = new DefaultArtifact("org.apache.maven.banned:user-relocation:1.0"); @Override public Artifact relocatedTarget(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0"); assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining"); assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining"); assertNull(block.andx, "andx should be cleared when not chaining"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosErrorTest.java
// Assert assertEquals(0x00000000, actual); } @ParameterizedTest @ValueSource(ints = { -1, 1, 0x00FFFF00, 0x0BADF00D }) @DisplayName("Invalid or unknown DOS codes return not-found sentinel (-1)") void unknownCodesReturnMinusOne(int dosCode) { // Act int actual = findNtStatusOrMinusOne(dosCode); // Assert assertEquals(-1, actual); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* * <p>This method is intended to help with usages of type parameters that have {@linkplain * ParametricNullness parametric nullness}. Sometimes, code may receive a null {@code T} but store * a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to * return to a caller, the code needs to a way to return {@code null} from a method that returns * "plain {@code T}." This API provides that. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 4K bytes - Click Count (0) -
internal/lru/lru.go
// The zero Value for LruList is an empty list ready to use. type LruList[K comparable, V any] struct { root Entry[K, V] // sentinel list element, only &root, root.prev, and root.next are used len int // current list Length excluding (this) sentinel element } // Init initializes or clears list l. func (l *LruList[K, V]) Init() *LruList[K, V] { l.root.next = &l.root l.root.prev = &l.root
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0) -
fastapi/datastructures.py
It's used internally to recognize when a default value has been overwritten, even if the overridden default value was truthy. """ return DefaultPlaceholder(value) # type: ignore # Sentinel for "parameter not provided" in Param/FieldInfo. # Typed as None to satisfy tyCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/en/docs/tutorial/server-sent-events.md
If you need to send data **without** JSON encoding, use `raw_data` instead of `data`. This is useful for sending pre-formatted text, log lines, or special <dfn title="A value used to indicate a special condition or state">"sentinel"</dfn> values like `[DONE]`. {* ../../docs_src/server_sent_events/tutorial003_py310.py hl[17] *} /// note `data` and `raw_data` are mutually exclusive. You can only set one of them on each `ServerSentEvent`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Stop the thread by sending n = -1 synchronized (w) { w.write(new byte[0], -1, out); } w.join(2000); assertFalse(w.isAlive(), "WriterThread should stop after -1 sentinel"); } @Test @DisplayName("WriterThread surfaces SmbException via checkException") void writerThread_propagates_exception() throws Exception { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300); static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false); /** * Sentinel cache entry indicating a negative cache result */ protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L); /** * Cache of trusted domains for DFS resolution */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.2K bytes - Click Count (0)