- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 339 for 0x01 (0.15 seconds)
-
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} @Test @DisplayName("Persistent handles capability should be 0x10") void testGlobalCapPersistentHandles() { assertEquals(0x10, Smb2Constants.SMB2_GLOBAL_CAP_PERSISTENT_HANDLES, "Persistent handles capability must be 0x10"); } @Test @DisplayName("Directory leasing capability should be 0x20")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 })); } /** * @throws Exception */ @Test public void testToHex2() throws Exception { assertEquals("0001", StringUtil.toHex(1)); } /** * @throws Exception */ @Test public void testAppendHex() throws Exception { final StringBuilder buf = new StringBuilder();
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001); assertEquals(75.0, percentUsed, 0.001); } @Test @DisplayName("Should differentiate between caller available and actual free units")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertArrayEquals(maxFileId, copiedFileId); // Test with file ID having minimum byte values byte[] minFileId = new byte[16]; Arrays.fill(minFileId, (byte) 0x00); Smb2FlushRequest minRequest = new Smb2FlushRequest(mockConfig, minFileId); written = minRequest.writeBytesWireFormat(buffer, 0); assertEquals(24, written);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
fun hostIpv6WithIpv4SuffixWithHexadecimalPrefix() { // Chrome interprets a leading '0x' as hexadecimal; Firefox rejects them. (We reject them.) assertInvalid( "http://[0:0:0:0:0:1:0.0x10.0.0x10]/", "Invalid URL host: \"[0:0:0:0:0:1:0.0x10.0.0x10]\"", ) } @Test fun hostIpv6WithMalformedIpv4Suffix() { assertInvalid( "http://[0:0:0:0:0:1:0.0:0.0]/",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Aug 04 07:38:48 GMT 2025 - 69.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
*/ public abstract long asLong(); /** * If this hashcode has enough bits, returns {@code asLong()}, otherwise returns a {@code long} * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining * most-significant bytes. * * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)}) */ public abstract long padToLong(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
Doubles.asList( -Double.MIN_VALUE, -Double.MIN_NORMAL, -1, -20, Double.NaN, Double.NEGATIVE_INFINITY, -0.001)); public void testFuzzyEqualsFinite() { for (double a : FINITE_DOUBLE_CANDIDATES) { for (double b : FINITE_DOUBLE_CANDIDATES) { for (double tolerance : FINITE_TOLERANCE_CANDIDATES) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
int n, srcHashCode; NodeStatusRequest request; NodeStatusResponse response = new NodeStatusResponse(addr); request = new NodeStatusRequest(new Name(NbtAddress.ANY_HOSTS_NAME, 0x00, null)); request.addr = addr.getInetAddress(); n = RETRY_COUNT; while (n-- > 0) { try { send(request, response, RETRY_TIMEOUT);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
int bytesWritten = transaction.writeParameterWordsWireFormat(dst, 0); // Verify the bytes written assertTrue(bytesWritten > 0); // For secondary, first byte should be 0x00 (Reserved) assertEquals(0, dst[0]); // Verify reserved bytes assertEquals(0, dst[1]); assertEquals(0, dst[2]); // Verify total parameter count (4 bytes at position 3)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0)