- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 321 for metabytes (0.2 sec)
-
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
} }; File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); // Get existing component and update it instead of registering new oneRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
for (int i = 0; i < 16; i++) { assertEquals(fileId[i], buffer[Smb2Constants.SMB2_HEADER_LENGTH + 8 + i]); } // Verify filename byte[] expectedFileName = "*.txt".getBytes(StandardCharsets.UTF_16LE); assertTrue(bytesWritten > 32); assertEquals(32 + expectedFileName.length, bytesWritten); } @Test @DisplayName("Test writeBytesWireFormat without fileName")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp); size += domainBytes.length; } final String userName = getUser(); byte[] userBytes = null; if (userName != null && userName.length() != 0) { userBytes = unicode ? userName.getBytes(UNI_ENCODING) : userName.toUpperCase().getBytes(oemCp); size += userBytes.length;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
} @Test @DisplayName("Parses a valid buffer and exposes fields") void parseValidBuffer() { // Arrange String name = "******@****.***"; byte[] buf = buildBuffer(oidDer(), name.getBytes(StandardCharsets.US_ASCII)); // Act MIEName parsed = new MIEName(buf); // Assert // equals should match case-insensitively for name and equal OIDRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
cmd/erasure-sets_test.go
key int }{ {16}, {64}, {128}, {256}, {512}, {1024}, } for _, testCase := range cases { key := randString(testCase.key) b.Run("", func(b *testing.B) { b.SetBytes(1024) b.ReportAllocs() b.ResetTimer() for b.Loop() { crcHashMod(key, 16) } }) } } func BenchmarkSipHash(b *testing.B) { cases := []struct { key int }{ {16},Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
for (int i = 0; i < reps; i++) { res += System.identityHashCode( hashFunctionEnum .getHashFunction() .hashBytes(strings[i & SAMPLE_MASK].getBytes(UTF_8))); } return res; } @Benchmark int hashUtf8GetBytesHasher(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res += System.identityHashCode(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java
public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.maxReferralLevel, dst, dstIndex); dstIndex += 2; final byte[] pathBytes = this.path.getBytes(StandardCharsets.UTF_16LE); System.arraycopy(pathBytes, 0, dst, dstIndex, pathBytes.length); dstIndex += pathBytes.length; SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; // null terminator
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TextExtractor.java
if (in == null) { throw new CrawlerSystemException("The inputstream is null."); } try { return new ExtractData(new String(InputStreamUtil.getBytes(in), getEncoding())); } catch (final Exception e) { throw new ExtractException(e); } } /** * Returns the encoding used for text extraction. * @return the encoding
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
if (text == null) { return null; } final MessageDigest msgDigest = getInstance(algorithm); try { msgDigest.update(text.getBytes("UTF-8")); } catch (final UnsupportedEncodingException e) { throw new ClIllegalStateException(e); } final byte[] digest = msgDigest.digest();Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
} public void test_builder() { assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent()); assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent()); } public void test_addExtractor_weight() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.9K bytes - Viewed (0)