- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 335 for metabytes (0.11 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
a, m = m, a } if bytes.Compare(b, m) > 0 { b, m = m, b } M, err := NewModulus(m) if err != nil { t.Fatal(err) } A, err := NewNat().SetBytes(a, M) if err != nil { t.Fatal(err) } B, err := NewNat().SetBytes(b, M) if err != nil { t.Fatal(err) } A.Mul(B, M) ABytes := A.Bytes(M) mBig := new(big.Int).SetBytes(m) aBig := new(big.Int).SetBytes(a) bBig := new(big.Int).SetBytes(b) nBig := new(big.Int).Mul(aBig, bBig) nBig.Mod(nBig, mBig) nBigBytes := make([]byte, len(ABytes)) nBig.FillBytes(nBigBytes) if !bytes.Equal(ABytes,...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
+ "\"}}\n" + hit.getSourceAsString() + "\n"; try { zos.write(data.getBytes(Constants.CHARSET_UTF_8)); } catch (final IOException e) { logger.warn("Failed to access /{}/{}.", index, hit.getId(), e); } return true;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> { // Mock the read method to return simple content byte[] includeContent = "192.168.1.200 INCLUDEHOST\n".getBytes(); int[] index = { 0 }; when(mock.read()).thenAnswer(inv -> { if (index[0] < includeContent.length) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
initializeNetworkExplorer(false, "jCIFS"); // Setup mock file with minimal required behavior String content = "File content for testing"; byte[] contentBytes = content.getBytes(); when(smbFile.length()).thenReturn((long) contentBytes.length); when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes)); // Use spy to avoid actual SMB operations
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
byte[] data = new byte[100]; digest.sign(data, 0, data.length, mockRequest, mockResponse); // Check if BSRSPYL signature is written byte[] expectedSignature = "BSRSPYL ".getBytes(); byte[] actualSignature = new byte[8]; System.arraycopy(data, SmbConstants.SIGNATURE_OFFSET, actualSignature, 0, 8); assertArrayEquals(expectedSignature, actualSignature); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { try (GZIPOutputStream gos = new GZIPOutputStream(baos)) { gos.write(hash.getBytes(Constants.UTF_8)); } return SIMILAR_DOC_HASH_PREFIX + Base64.getUrlEncoder().withoutPadding().encodeToString(baos.toByteArray()); } catch (final IOException e) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
*/ public static String base64(final String value) { if (value == null) { return StringUtil.EMPTY; } return Base64.getUrlEncoder().encodeToString(value.getBytes(Constants.CHARSET_UTF_8)); } /** * Checks if a file exists at the specified path within the servlet context. * * @param path the file path relative to the servlet contextRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
dstIndex += 4; SMBUtil.writeInt4(this.createOptions, dst, dstIndex); dstIndex += 4; final int nameOffsetOffset = dstIndex; final byte[] nameBytes = this.name.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt2(nameBytes.length, dst, dstIndex + 2); dstIndex += 4; final int createContextOffsetOffset = dstIndex; dstIndex += 4; // createContextOffsetRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
try (InputStream contentStream = new BufferedInputStream(new SmbFileInputStream(file))) { responseData.setResponseBody(InputStreamUtil.getBytes(contentStream)); } catch (final Exception e) { logger.warn("Failed to read SMB file content: path={}, size={}", filePath, file.getContentLength(), e);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 23.3K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
a, m = m, a } if bytes.Compare(b, m) > 0 { b, m = m, b } M, err := NewModulus(m) if err != nil { t.Fatal(err) } A, err := NewNat().SetBytes(a, M) if err != nil { t.Fatal(err) } B, err := NewNat().SetBytes(b, M) if err != nil { t.Fatal(err) } A.Mul(B, M) ABytes := A.Bytes(M) mBig := new(big.Int).SetBytes(m) aBig := new(big.Int).SetBytes(a) bBig := new(big.Int).SetBytes(b) nBig := new(big.Int).Mul(aBig, bBig) nBig.Mod(nBig, mBig) nBigBytes := make([]byte, len(ABytes)) nBig.FillBytes(nBigBytes) if !bytes.Equal(ABytes,...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)