Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for NS (0.01 seconds)

  1. 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.
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  2. 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.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/ReferenceEntry.java

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                        String.format(
                                "Timing attack vulnerability detected: timing ratio %.3f exceeds tolerance %.3f "
                                        + "(start: %d ns, middle: %d ns, end: %d ns)",
                                timingRatio, TIMING_TOLERANCE, timeStart, timeMiddle, timeEnd));
            } finally {
                // Clean up resources
                baseAuth.close();
                startAuth.close();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/ReferenceEntry.java

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/StopwatchTest.java

      public void testToString() {
        stopwatch.start();
        assertThat(stopwatch.toString()).isEqualTo("0.000 ns");
        ticker.advance(1);
        assertThat(stopwatch.toString()).isEqualTo("1.000 ns");
        ticker.advance(998);
        assertThat(stopwatch.toString()).isEqualTo("999.0 ns");
        ticker.advance(1);
        assertThat(stopwatch.toString()).isEqualTo("1.000 \u03bcs");
        ticker.advance(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. 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()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. internal/logger/audit.go

    		entry.API.InputBytes = r.ContentLength
    		entry.API.OutputBytes = outputBytes
    		entry.API.HeaderBytes = headerBytes
    		entry.API.TimeToResponse = strconv.FormatInt(timeToResponse.Nanoseconds(), 10) + "ns"
    		entry.API.TimeToResponseInNS = strconv.FormatInt(timeToResponse.Nanoseconds(), 10)
    		// We hold the lock, so we cannot call reqInfo.GetTagsMap().
    		tags := make(map[string]any, len(reqInfo.tags))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/web.xml

     * governing permissions and limitations under the License.
    -->
    <web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee
                                 web-app_6_1.xsd"
             version="6.1">
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 09:08:35 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  10. 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);
            };
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top