- Sort Score
- Num 10 results
- Language All
Results 851 - 860 of 2,280 for Length (0.05 seconds)
-
cmd/post-policy_test.go
// Add the key condition, only accept keys equal to the one passed. keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey) // Add content length condition, only accept content sizes of a given length. contentLengthCondStr := `["content-length-range", 1024, 1048576]` // Add the algorithm condition, only accept AWS SignV4 Sha256. algorithmConditionStr := `["eq", "$x-amz-algorithm", "AWS4-HMAC-SHA256"]`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
* `status_code` - An `int` HTTP status code. * `headers` - A `dict` of strings. * `media_type` - A `str` giving the media type. E.g. `"text/html"`. FastAPI (actually Starlette) will automatically include a Content-Length header. It will also include a Content-Type header, based on the `media_type` and appending a charset for text types. {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
final Map<TypeVariable<?>, Type> map) { assertArgumentNotNull("method", method); assertArgumentArrayIndex("index", index, method.getParameterTypes().length); assertArgumentNotNull("map", map); return createParameterizedClassDesc(method.getGenericParameterTypes()[index], map); } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
char[] decrypted = storage.decryptCredentials(encrypted); assertNotNull(decrypted, "Decrypted empty data should not be null"); assertEquals(0, decrypted.length, "Decrypted empty array should have zero length"); } @Test public void testEncryptDecryptNull() throws Exception { byte[] encrypted = storage.encryptCredentials(null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
request.setInfo(mockInfo); byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify buffer length field contains the info size int bufferLength = SMBUtil.readInt4(buffer, 68); assertEquals(infoSize, bufferLength); // Verify total bytes written
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
@Override public String toString() { String mic = null; if (this.getMechanismListMIC() != null) { mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length); } return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic); } @Override public byte[] toByteArray() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
String reqPath = "\\\\server\\share\\path"; // Use valid consumed value within string bounds (reqPath.length() = 19) int consumed = Math.min(19, reqPath.length()); data1 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
if ( versioning.getLastUpdated() == null || versioning.getLastUpdated().length() == 0 ) { // this should only be for historical reasons - we assume local is newer versioning.setLastUpdated( v.getLastUpdated() ); } if ( v.getLastUpdated() == null || v.getLastUpdated().length() == 0 || versioning.getLastUpdated().compareTo( v.getLastUpdated() ) >= 0 )Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed May 15 17:32:27 GMT 2024 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
StorageException exception = new StorageException(outerMessage, innerException); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); assertEquals(innerException, exception.getCause()); assertEquals(innerMessage, exception.getCause().getMessage()); } @Test public void test_multiLevelExceptionChaining() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertTrue(bytesWritten > 0); // Verify name length field at offset 46 (after 44 bytes of fixed fields + 2 for name offset) byte[] nameBytes = longPath.getBytes(StandardCharsets.UTF_16LE); int nameLenInBuffer = (buffer[46] & 0xFF) | ((buffer[47] & 0xFF) << 8); assertEquals(nameBytes.length, nameLenInBuffer); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0)