- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for NS (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
client.initWebSocket(random, pingIntervalMillis = 500) taskFaker.advanceUntil(ns(500L)) server.processNextFrame() // Ping. client.processNextFrame() // Pong. taskFaker.advanceUntil(ns(1000L)) server.processNextFrame() // Ping. client.processNextFrame() // Pong. taskFaker.advanceUntil(ns(1500L)) server.processNextFrame() // Ping. client.processNextFrame() // Pong. }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
*/ @ParameterizedTest @ValueSource(ints = { 0, 1, 255, -1, 256, 65535 }) void constructorMasksValue(int input) { NdrShort ns = new NdrShort(input); // NdrShort masks to 0xFF (8 bits) in its constructor int expected = input & 0xFF; assertEquals(expected, ns.value, "value should be masked to 0xFF before storing"); } /** * Round-trip encode/decode for a selection of representative values.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
fun sleepWhileOpen(nanos: Long) { var ms = nanos / 1_000_000L val ns = nanos - (ms * 1_000_000L) while (ms > 100) { Thread.sleep(100) if (javaNetSocket.isClosed) throw InterruptedIOException("socket closed") ms -= 100L } if (ms > 0L || ns > 0) { Thread.sleep(ms, ns.toInt()) } } override fun cancel() { delegate.cancel() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StopwatchTest.java
public void testToString() { stopwatch.start(); assertEquals("0.000 ns", stopwatch.toString()); ticker.advance(1); assertEquals("1.000 ns", stopwatch.toString()); ticker.advance(998); assertEquals("999.0 ns", stopwatch.toString()); ticker.advance(1); assertEquals("1.000 \u03bcs", stopwatch.toString()); ticker.advance(1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
throw new SMBProtocolDecodingException("Invalid durable handle V2 response length: " + len); } 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)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
cmd/metrics-v2.go
} } func getClusterReplProxiedGetOperationsMD(ns MetricNamespace) MetricDescription { return MetricDescription{ Namespace: ns, Subsystem: replicationSubsystem, Name: proxiedGetRequestsTotal, Help: "Number of GET requests proxied to replication target", Type: counterMetric, } } func getClusterReplProxiedHeadOperationsMD(ns MetricNamespace) MetricDescription {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 133.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
case NBSTAT -> "NBSTAT"; default -> "0x" + Hexdump.toHexString(questionType, 4); }; recordTypeString = switch (recordType) { case A -> "A"; case NS -> "NS"; case NULL -> "NULL"; case NB -> "NB"; case NBSTAT -> "NBSTAT"; default -> "0x" + Hexdump.toHexString(recordType, 4); };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
case NBSTAT -> "NBSTAT"; default -> "0x" + Hexdump.toHexString(this.questionType, 4); }; recordTypeString = switch (this.recordType) { case A -> "A"; case NS -> "NS"; case NULL -> "NULL"; case NB -> "NB"; case NBSTAT -> "NBSTAT"; default -> "0x" + Hexdump.toHexString(this.recordType, 4); };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0)