- Sort Score
- Num 10 results
- Language All
Results 1381 - 1390 of 2,271 for LENGTH (0.09 seconds)
-
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
public Smb2LeaseKey(byte[] key) { if (key == null) { throw new IllegalArgumentException("Lease key cannot be null"); } if (key.length != LEASE_KEY_SIZE) { throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length); } this.key = Arrays.copyOf(key, LEASE_KEY_SIZE); } /** * Get the lease key bytes *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
// Expected format: buffer format (1 byte) + file name (null-terminated) int expectedLength = 1 + TEST_FILE_NAME.length() + 1; assertEquals(expectedLength, bytesWritten); assertEquals(0x04, dst[0]); // Buffer format assertEquals(TEST_FILE_NAME, new String(dst, 1, TEST_FILE_NAME.length())); } @Test public void testReadParameterWordsWireFormat() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FacetInfoTest.java
assertNotNull(facetInfo.query); assertEquals(1, facetInfo.query.length); assertEquals("", facetInfo.query[0]); } // Test addQuery with null string @Test public void test_addQuery_nullString() { facetInfo.addQuery(null); assertNotNull(facetInfo.query); assertEquals(1, facetInfo.query.length); assertNull(facetInfo.query[0]); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsLabelType.java
sb.append(dm).append(updatedBy); sb.append(dm).append(updatedTime); sb.append(dm).append(value); sb.append(dm).append(virtualHost); if (sb.length() > dm.length()) { sb.delete(0, dm.length()); } sb.insert(0, "{").append("}"); return sb.toString(); } // ===================================================================================
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 8.5K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
String t = s.replace("\n", "\\n"); if (t.length() > 500) return t.substring(0, 500) + "...(truncated)"; return t; } } private static ExecResult exec(String... cmd) throws IOException, InterruptedException, ExecutionException { Objects.requireNonNull(cmd, "cmd"); if (cmd.length == 0) throw new IllegalArgumentException("cmd must not be empty");
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
} // Rest of the buffer can be arbitrary for (int i = 20; i < largeDescriptor.length; i++) { largeDescriptor[i] = (byte) (i % 256); } info502.security_descriptor = largeDescriptor; info502.sd_size = largeDescriptor.length; // Replace info field Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
break; } } if (basedirExpr != null) { if (s.length() > basedirExpr.length()) { // Take out basedir expression and the leading slash s = chopLeadingFileSeparator(s.substring(basedirExpr.length())); } else { s = "."; } } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] data = new byte[1024 * 1024]; for (int i = 0; i < data.length; i++) { data[i] = (byte) (i % 256); } ContentCache cache = new ContentCache(data); try (InputStream stream = cache.getInputStream()) { assertNotNull(stream); byte[] buffer = new byte[data.length]; int totalBytesRead = 0; int bytesRead;
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/FacetInfo.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
var metaDataPool = bpool.Pool[[]byte]{New: func() []byte { return make([]byte, 0, metaDataReadDefault) }} // metaDataPoolGet will return a byte slice with capacity at least metaDataReadDefault. // It will be length 0. func metaDataPoolGet() []byte { return metaDataPool.Get()[:0] } // metaDataPoolPut will put an unused small buffer back into the pool. func metaDataPoolPut(buf []byte) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1)