- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 303 for invalidate (0.06 seconds)
-
src/test/java/jcifs/netbios/UniAddressTest.java
assertFalse(UniAddress.isDotQuadIP(input)); } @Test void shouldReturnTrueForInvalidOctetValues() { // isDotQuadIP does not validate octet values, only checks format assertTrue(UniAddress.isDotQuadIP("192.168.1.256")); assertTrue(UniAddress.isDotQuadIP("999.999.999.999")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
doc/go_mem.html
print(b) print(a) } func main() { go f() g() } </pre> <p> it can happen that <code>g</code> prints <code>2</code> and then <code>0</code>. </p> <p> This fact invalidates a few common idioms. </p> <p> Double-checked locking is an attempt to avoid the overhead of synchronization. For example, the <code>twoprint</code> program might be incorrectly written as: </p>
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostAndPort.java
@Immutable @GwtCompatible public final class HostAndPort implements Serializable { /** Magic value indicating the absence of a port number. */ private static final int NO_PORT = -1; /** Hostname, IPv4/IPv6 literal, or unvalidated nonsense. */ private final String host; /** Validated port number in the range [0..65535], or NO_PORT */ private final int port; /** True if the parsed host has colons, but no surrounding brackets. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
* stale). */ class CacheStrategy internal constructor( /** The request to send on the network, or null if this call doesn't use the network. */ val networkRequest: Request?, /** The cached response to return or validate; or null if this call doesn't use a cache. */ val cacheResponse: Response?, ) { class Factory( private val nowMillis: Long, internal val request: Request, private val cacheResponse: Response?, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
.github/workflows/build.yml
validation: name: "Validation" runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: gradle/actions/wrapper-validation@v5 - name: Validate Renovate uses: rinchsan/renovate-config-validator@v0.2.0 with: pattern: '.github/renovate.json' checks: permissions: checks: write # for mikepenz/action-junit-reportCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 16:19:02 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
int read = resp.decode(packet, 0, false); assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body"); // Validate simple getters assertEquals((byte) 0x7, resp.getOplockLevel()); assertEquals((byte) 0x2, resp.getOpenFlags()); assertEquals(0x11223344, resp.getCreateAction());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
cmd/signature-v4-utils.go
} else { v, ok = r.Header[xhttp.AmzContentSha256] } // Skip if no header was set. if !ok { return true } // If x-amz-content-sha256 is set and the value is not // 'UNSIGNED-PAYLOAD' we should validate the content sha256. switch v[0] { case unsignedPayload, unsignedPayloadTrailer: return true case emptySHA256: // some broken clients set empty-sha256 // with > 0 content-length in the body,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 25 17:10:22 GMT 2024 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatSessionManager.java
if (sessionId != null) { final ChatSession session = findSession(sessionId); if (session != null) { final String sessionUserId = session.getUserId(); // Validate userId matches - prevent cross-user session access if (userId != null && !userId.equals(sessionUserId)) { logger.warn("Session userId mismatch. sessionId={}, requestUserId={}", sessionId, userId);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 13:27:59 GMT 2026 - 13.7K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
} @Test public void testInvalidUncPath() throws Exception { // Due to normalization removing duplicate backslashes, true UNC validation doesn't work // These tests validate current behavior where problematic paths are caught by other checks // Test invalid server name with dots - caught by directory traversal check assertThrows(SmbException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
} } public void validateNotification(WitnessNotification notification) throws SecurityException { // Validate notification authenticity if (!isValidNotificationSource(notification)) { throw new SecurityException("Invalid witness notification source"); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0)