- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 73 for 01000000 (0.08 sec)
-
cmd/net_test.go
} } } func TestCheckLocalServerAddr(t *testing.T) { testCases := []struct { serverAddr string expectedErr error }{ {":54321", nil}, {"localhost:54321", nil}, {"0.0.0.0:9000", nil}, {":0", nil}, {"localhost", nil}, {"", fmt.Errorf("invalid argument")}, {"example.org:54321", fmt.Errorf("host in server address should be this server")},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
for (int exponent : asList(2, 3, 4, 9, 15, 16, 17, 24, 25, 30)) { int x = 1 << exponent; intValues.add(x, x + 1, x - 1); } intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10 intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down POSITIVE_INTEGER_CANDIDATES = intValues.build(); NEGATIVE_INTEGER_CANDIDATES = ImmutableList.copyOf(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
@GwtIncompatible // Too slow in GWT (~3min fully optimized) public void testDivideRemainderEuclideanProperty() { // Use a seed so that the test is deterministic: Random r = new Random(0L); for (int i = 0; i < 1000000; i++) { long dividend = r.nextLong(); long divisor = r.nextLong(); // Test that the Euclidean property is preserved: assertThat( dividend
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
void testReadBytesWireFormatDifferentBufferPositions() throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; // Test at different positions in the buffer int[] positions = { 0, 10, 100, 500 }; for (int position : positions) { // Set structure size to 2 at the given position SMBUtil.writeInt2(2, buffer, position);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(remaining, response.getRemaining()); } @ParameterizedTest @DisplayName("Should read response at various buffer offsets") @ValueSource(ints = { 0, 10, 100, 500 }) void testReadAtDifferentOffsets(int offset) throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; byte[] responseData = createValidWriteResponse(2048, 1024);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x00040000, SmbConstants.WRITE_DAC); assertEquals(0x00080000, SmbConstants.WRITE_OWNER); assertEquals(0x00100000, SmbConstants.SYNCHRONIZE); assertEquals(0x10000000, SmbConstants.GENERIC_ALL); assertEquals(0x20000000, SmbConstants.GENERIC_EXECUTE); assertEquals(0x40000000, SmbConstants.GENERIC_WRITE); assertEquals(0x80000000, SmbConstants.GENERIC_READ); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
response.readDataWireFormat(buffer, 0, buffer.length); }); } @DisplayName("Test readDataWireFormat with different buffer offsets") @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100 }) void testReadDataWireFormatWithDifferentOffsets(int offset) throws Exception { // Create a buffer large enough for offset + data byte[] buffer = createValidSecurityDescriptorBuffer(offset + 100);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Prepare test data that might cause overflow in naive implementations byte[] buffer = new byte[22]; int idFileSystem = 0; int sectPerAlloc = 1000; int alloc = 1000000; // Large allocation count int free = 500000; int bytesPerSect = 4096; // Encode test data int offset = 0; SMBUtil.writeInt4(idFileSystem, buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/net.go
host, err := xnet.ParseHost(serverAddr) if err != nil { return config.ErrInvalidAddressFlag(err) } // 0.0.0.0 is a wildcard address and refers to local network // addresses. I.e, 0.0.0.0:9000 like ":9000" refers to port // 9000 on localhost. if host.Name != "" && host.Name != net.IPv4zero.String() && host.Name != net.IPv6zero.String() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
val low = (if (i + 1 < limit) this[i + 1] else '\u0000') if (c.isLowSurrogate() || !low.isLowSurrogate()) { '?'.code } else { i++ 0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff)) } } else -> c.code } i++ } return result }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.5K bytes - Viewed (0)