- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 91 for 255 (0.04 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `eight zeros`() { val bytes = "020200ff".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(255) assertThat(Adapters.INTEGER_AS_LONG.toDer(255)).isEqualTo(bytes) } @Test fun `eight ones`() { val bytes = "0201ff".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.toDer(-1L)).isEqualTo(bytes)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
if (host == null || host.isEmpty()) { return false; } // Check for valid hostname or IP address // Simple validation - can be enhanced if (host.length() > 255) { return false; } // Check for invalid characters if (host.contains("..") || host.contains("//") || host.contains("\\\\")) { return false; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
val c = input[i] if (c < '0' || c > '9') break if (value == 0 && groupOffset != i) return false // Reject unnecessary leading '0's. value = value * 10 + c.code - '0'.code if (value > 255) return false // Value out of range. i++ } val groupLength = i - groupOffset if (groupLength == 0) return false // No digits. // We've successfully read a byte.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
writer.write("192.168.1.100 VALIDHOST\n"); writer.write("not.an.ip HOST2\n"); // Invalid IP format writer.write("192.168.1.256 HOST3\n"); // Invalid octet value > 255 } when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); // Use getByName to trigger populate // Only valid host should be added
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
api/go1.3.txt
pkg syscall (freebsd-386), const MAP_ALIGNMENT_SHIFT ideal-int pkg syscall (freebsd-386), const MSG_CMSG_CLOEXEC = 262144 pkg syscall (freebsd-386), const MSG_CMSG_CLOEXEC ideal-int pkg syscall (freebsd-386), const NAME_MAX = 255 pkg syscall (freebsd-386), const NAME_MAX ideal-int pkg syscall (freebsd-386), const O_CLOEXEC = 1048576 pkg syscall (freebsd-386), const RTF_GWFLAG_COMPAT = 2147483648
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jun 02 02:45:00 UTC 2014 - 117K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
} @ParameterizedTest @DisplayName("Should format different oplock levels correctly") @CsvSource({ "0, 0", "1, 1", "2, 2", "8, 8", "255, -1" // byte 255 is -1 when printed as signed }) void testToStringWithDifferentOplockLevels(int inputValue, String expectedDisplay) throws Exception { byte oplockLevel = (byte) inputValue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
if (addr != null) { /* UniAddress calls always use this * because it specifies addr */ request.addr = addr; /* if addr ends with 255 flag it bcast */ request.isBroadcast = addr.getAddress()[3] == (byte) 0xFF; n = RETRY_COUNT; do { try { send(request, response, RETRY_TIMEOUT);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (linux-386), const RT_CLASS_LOCAL = 255 pkg syscall (linux-386), const RT_CLASS_MAIN = 254 pkg syscall (linux-386), const RT_CLASS_MAX = 255 pkg syscall (linux-386), const RT_CLASS_UNSPEC = 0 pkg syscall (linux-386), const RT_SCOPE_HOST = 254 pkg syscall (linux-386), const RT_SCOPE_LINK = 253 pkg syscall (linux-386), const RT_SCOPE_NOWHERE = 255 pkg syscall (linux-386), const RT_SCOPE_SITE = 200
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/ppc64.s
OR $1234567, R5 // 64a5001260a5d687 OR $1234567, R5, R3 // 64a300126063d687 OR $2147483648, R5, R3 // 64a38000 OR $2147483649, R5, R3 // 64a3800060630001 ORIS $255, R3, R4 // 646400ff OR $16711680, R3, R4 // 646400ff XOR $1, R3 // 68630001 XOR $1, R3, R4 // 68640001 XOR $-1, R4 // 3be0ffff7fe42278
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Nov 21 18:27:17 UTC 2024 - 51.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals((byte) (value & 0xFF), dst[3]); } private static Stream<Arguments> provideInt4TestValues() { return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536), Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF)); } @Test @DisplayName("readInt2 should correctly read 16-bit integer")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0)