- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 321 for metabytes (0.06 sec)
-
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
SMBUtil.writeInt8(0x0123456789ABCDEFL, timestampData, 0); byte[] avTimestampData = createAvPairData(AvPair.MsvAvTimestamp, timestampData); byte[] targetNameData = "TEST".getBytes(); byte[] avTargetNameData = createAvPairData(AvPair.MsvAvTargetName, targetNameData); byte[] eolData = createEolData(); // Combine all data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
keys = new HashMap<>(); // Use ARCFOUR-HMAC encryption type (23) which matches KERB_CHECKSUM_HMAC_MD5 KerberosKey serverKey = new KerberosKey(new KerberosPrincipal("******@****.***"), "serverKey1234567".getBytes(), PacSignature.ETYPE_ARCFOUR_HMAC, 1); keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, serverKey); } private void writeLittleEndianInt(ByteArrayOutputStream baos, int value) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0); // Calculate expected size: 1 byte for command + string bytes + 1 null terminator byte[] expectedString = "testfile.txt".getBytes("windows-1252"); assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
assertTrue(content.contains("テスト")); assertEquals("タイトル", data.getValues("title")[0]); } public void test_getHtml_empty() { final InputStream in = new ByteArrayInputStream("".getBytes()); final String content = htmlExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertEquals("", content); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
* Test getData implementation */ public void test_getData_implementation() { AccessResultData<String> accessResultData = new AccessResultData<String>() { private byte[] data = "test data".getBytes(); private String encoding = "UTF-8"; private String transformerName = "test"; private String id; @Override public String getId() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
* <p> * The input stream is not closed. * </p> * * @param is the input stream (must not be {@literal null}) * @return the byte array */ public static final byte[] getBytes(final InputStream is) { assertArgumentNotNull("is", is); final ByteArrayOutputStream os = new ByteArrayOutputStream(BUF_SIZE); CopyUtil.copy(is, os); return os.toByteArray(); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
/** * Context name for durable handle V2 response */ public static final String CONTEXT_NAME = "DH2Q"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit) private int flags; /** * Create a new durable handle V2 response */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// [9-127) includes all ascii non-control characters sb.append((char) (random.nextInt(127 - 9) + 9)); } String string = sb.toString(); sb.setLength(0); data = ByteSource.wrap(string.getBytes(charset)); } @Benchmark public int timeCopy(int reps) throws IOException { int r = 0; Charset localCharset = charset; ByteSource localData = data;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
private SmbComNegotiateResponse mockNegotiate; @Mock private ServerMessageBlock mockAndX; @Mock private Configuration mockConfig; private static byte[] blobCred() { return "blobdata".getBytes(StandardCharsets.UTF_8); } @BeforeEach void setup() { when(mockContext.getConfig()).thenReturn(mockConfig); when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
} /** * Test constructor with a malformed token (not ASN.1). */ @Test void testConstructorWithMalformedToken() { byte[] malformedToken = "This is not a valid token".getBytes(); assertThrows(PACDecodingException.class, () -> new KerberosToken(malformedToken)); } /** * Test constructor with a token that has an incorrect OID. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0)