- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 948 for nBytes (0.05 sec)
-
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
// Verify domain String writtenDomain = new String(dst, currentIndex, testDomain.length(), StandardCharsets.US_ASCII); assertEquals(testDomain.toUpperCase(), writtenDomain); // Verify total bytes written assertEquals(currentIndex + testDomain.length() + 1, bytesWritten); } /** * Test the writeParametersWireFormat method for NET_SERVER_ENUM3. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
@Throws(IOException::class) override fun onReadMessage(text: String) { listener.onMessage(this, text) } @Throws(IOException::class) override fun onReadMessage(bytes: ByteString) { listener.onMessage(this, bytes) } @Synchronized override fun onReadPing(payload: ByteString) { // Don't respond to pings after we've failed or sent the close frame.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
throws IOException { byte[] bytes = decoded.getBytes(UTF_8); try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) { for (int i = 0; i < bytes.length; i++) { assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF); } assertThat(decodingStream.read()).isEqualTo(-1); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
} } return key; } /** * Get raw key bytes * * @param sessionId unique session identifier * @return raw key bytes, or null if not found */ public byte[] getRawKey(String sessionId) { checkNotClosed(); byte[] key = rawKeys.get(sessionId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
static TestSuite suiteForBytes( CharSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) { TestSuite suite = suiteForString(factory, new String(bytes, UTF_8), name, desc); ByteSourceFactory byteSourceFactory = SourceSinkFactories.asByteSourceFactory(factory); suite.addTest( ByteSourceTester.suiteForBytes( byteSourceFactory, bytes, name + ".asByteSource[Charset]", desc, slice)); return suite;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
} this.timeout100Ns = SMBUtil.readInt4(buffer, bufferIndex) & 0xFFFFFFFFL; // Timeout (4 bytes, 100-ns intervals, unsigned) this.flags = SMBUtil.readInt4(buffer, bufferIndex + 4); // Flags (4 bytes) return 8; } /** * Get the timeout value in 100-nanosecond intervals (raw wire format) * @return the timeout in 100-nanosecond intervals
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]); // Verify remaining bytes are zeros for (int i = 4; i < 24; i++) { assertEquals((byte) 0x00, SMBUtil.SMB_HEADER[i]); } } @Test void testSMB2Header() { assertNotNull(SMBUtil.SMB2_HEADER); // The actual header is 68 bytes (4 + 2 + 2 + 2 + 2 + 4 + 2 + 2 + 4 + 4 + 8 + 4 + 4 + 8 + 8 + 8 = 68)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
reader.read("ANY") { header -> val bytes = reader.readUnknown() return AnyValue( tagClass = header.tagClass, tag = header.tag, constructed = header.constructed, length = header.length, bytes = bytes, ) } } override fun toDer( writer: DerWriter,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
cmd/object-lambda-handlers_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "crypto/sha256" "encoding/hex" "io" "net/http" "net/http/httptest" "net/url" "strconv" "testing" "time" "github.com/minio/minio-go/v7/pkg/signer"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
public class KerberosTicket { private String serverPrincipalName; private String serverRealm; private KerberosEncData encData; /** * Constructs a KerberosTicket from token bytes. * * @param token the ticket token bytes * @param apOptions AP options flags * @param keys array of Kerberos keys for decryption * @throws PACDecodingException if ticket decoding fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0)