- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 800 for IBytes (0.05 seconds)
-
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
* </p> * * @param bytes the byte array to deserialize * @return the deserialized object */ protected Object deserializeWithKryo(final byte[] bytes) { final Kryo kryo = kryoThreadLocal.get(); try (final Input input = new Input(new ByteArrayInputStream(bytes))) { return kryo.readClassAndObject(input); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); // Verify sid (2 bytes) assertEquals(TEST_SID, SMBUtil.readInt2(buffer, 0)); // Verify maxItems (2 bytes) assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2)); // Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/bytes/bytes_js_wasm_test.go
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jul 17 07:00:20 GMT 2024 - 417 bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
int start = bufferIndex; if (len < 52) { throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len); } // Read lease V2 data (52 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
// Verify capabilities (4 bytes) assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, 0)); // Verify client GUID (16 bytes) byte[] extractedGuid = new byte[16]; System.arraycopy(buffer, 4, extractedGuid, 0, 16); assertArrayEquals(defaultClientGuid, extractedGuid); // Verify security mode (2 bytes)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test readSecurityBuffer byte[] data = new byte[20]; byte[] content = "Hello".getBytes(); // Simulate a security buffer structure: length (2 bytes), length (2 bytes), offset (4 bytes) // Length = 5, Offset = 8 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); buffer.putShort(0, (short) content.length); // LengthCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
offset += 2; // Decode int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length); // Verify - actual implementation reads 20 bytes (4 + 4 + 4 + 4 + 4) // bytesPerSect is read as Int2 but advances by 4 bytes (padding) assertEquals(20, bytesDecoded); // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSectCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
* <tr> * <th>{@link InputStream}</th> * <td>bytes</td> * <td>characters</td> * <td>bytes, characters</td> * <td>characters</td> * </tr> * <tr> * <th>{@link Reader}</th> * <td>characters</td> * <td>characters</td> * <td>characters</td> * <td>characters</td> * </tr> * <tr> * <th>{@link File}</th> * <td>bytes</td> * <td>characters</td> * <td>bytes, characters</td> * <td>characters</td> * </tr>
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 45.2K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
listeners.put(state, listener); } return slackApi.authorizeUrl(scopes, redirectUrl(), state, team); } private ByteString randomToken() { byte[] bytes = new byte[16]; secureRandom.nextBytes(bytes); return ByteString.of(bytes); } private HttpUrl redirectUrl() { return mockWebServer.url("/oauth/"); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 3.8K bytes - Click Count (1) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
// Encode input parameters for WitnessUnregister // Context handle (20 bytes) - this is both input and output (modified) if (contextHandle != null) { buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 3.8K bytes - Click Count (0)