- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 893 for isValid (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
assertThat(client.processNextFrame()).isFalse() client.listener.assertClosing(1000, "Bye!") } @Test fun protocolErrorBeforeCloseSendsFailure() { server.sink.write("0a00".decodeHex()).emit() // Invalid non-final ping frame. client.processNextFrame() // Detects error, send close, close connection. taskFaker.runTasks() client.webSocket!!.finishReader() assertThat(client.closed).isTrue()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
cmd/copy-part-range_test.go
t.Fatalf("expected: %d, got: %d", successCase.offsetBegin, start) } if start+length-1 != successCase.offsetEnd { t.Fatalf("expected: %d, got: %d", successCase.offsetEnd, start+length-1) } } // Test invalid range strings. invalidRangeStrings := []string{ "bytes=8", "bytes=5-2", "bytes=+2-5", "bytes=2-+5", "bytes=2--5", "bytes=-", "2-5", "bytes = 2-5", "bytes=2 - 5", "bytes=0-0,-1",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0) -
cmd/object-api-utils_test.go
{"ideas-are-more-powerful-than-guns", true}, {"testbucket", true}, {"1bucket", true}, {"bucket1", true}, {"a.b", true}, {"ab.a.bc", true}, // cases for which test should fail. // passing invalid bucket names. {"------", false}, {"my..bucket", false}, {"192.168.1.1", false}, {"$this-is-not-valid-too", false}, {"contains-$-dollar", false}, {"contains-^-caret", false},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
// Test throwing and catching the exception with cause String expectedMessage = "Storage write error"; Exception expectedCause = new IllegalStateException("Invalid state"); try { throw new StorageException(expectedMessage, expectedCause); } catch (StorageException e) { assertEquals(expectedMessage, e.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
throw new ThumbnailGenerationException("Invalid thumbnail: " + url); } final String configId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldConfigId(), String.class); if (configId == null || configId.length() < 2) { throw new ThumbnailGenerationException("Invalid configId: " + configId); } return consumer.test(configId, url);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
} try { resultData.setData(path.getBytes(charsetName)); } catch (final UnsupportedEncodingException e) { if (logger.isInfoEnabled()) { logger.info("Invalid charsetName: " + charsetName + ". Changed to " + Constants.UTF_8, e); } charsetName = Constants.UTF_8_CHARSET.name(); resultData.setData(path.getBytes(Constants.UTF_8_CHARSET)); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/UploadForm.java
*/ @Required public MultipartFormFile designFile; /** * The name for the design file being uploaded. * Must not contain invalid file system characters like backslash, colon, asterisk, etc. */ @Pattern(regexp = "^[^\\\\|/|:|\\*|?|\"|<|>|\\|]+$", message = "{errors.design_file_name_is_invalid}") public String designFileName; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
} @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { if (len != 8) { throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len); } // Read reserved field (should be all zeros but we don't validate) System.arraycopy(buffer, bufferIndex, reserved, 0, 8); return 8; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PACDecodingException.java
*/ package jcifs.pac; import jcifs.CIFSException; /** * Exception thrown when PAC (Privilege Attribute Certificate) data cannot be decoded. * Indicates malformed or invalid PAC structures in Kerberos tickets. */ public class PACDecodingException extends CIFSException { private static final long serialVersionUID = 1L; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v1.go
key, err := hex.DecodeString(keyHex[8:]) if err != nil { return err } // Verify that CRC is ok. want := binary.LittleEndian.Uint32(id) got := crc32.ChecksumIEEE(key) if want != got { return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got) } stream, err := sio.AES_256_GCM.Stream(key) if err != nil { return err } // Zero nonce, we only use each key once, and 32 bytes is plenty.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 1.6K bytes - Viewed (0)