Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 415 for 1L (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    
                // Write negative times (as they would appear in the buffer)
                SMBUtil.writeInt8(-1L, buffer, 8);
                SMBUtil.writeInt8(-1000L, buffer, 16);
                SMBUtil.writeInt8(-2000L, buffer, 24);
                SMBUtil.writeInt8(-3000L, buffer, 32);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                // Do nothing in test
            }
        }
    
        private static class TestFessConfig extends FessConfig.SimpleImpl {
            private static final long serialVersionUID = 1L;
            private int maxEmptyListCount = 10;
    
            @Override
            public Integer getIndexerWebfsUpdateIntervalAsInteger() {
                return 100;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

                } else {
                  intervalPingsSent++
                  return@withLock false
                }
              }
            if (failDueToMissingPong) {
              failConnection(null)
              return@schedule -1L
            } else {
              writePing(false, INTERVAL_PING, 0)
              return@schedule pingIntervalNanos
            }
          }
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val requestBody: RequestBody =
          object : RequestBody() {
            override fun contentType(): MediaType? = null
    
            override fun contentLength(): Long = if (uploadKind === TransferKind.CHUNKED) -1L else n.toLong()
    
            override fun writeTo(sink: BufferedSink) {
              if (writeKind == WriteKind.BYTE_BY_BYTE) {
                for (i in 0 until n) {
                  sink.writeByte('x'.code)
                }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

      }
    
      @Test fun streamIdHasReservedBit() {
        val writer = Http2Writer(Buffer(), true)
        assertFailsWith<IllegalArgumentException> {
          var streamId = 3
          streamId = streamId or (1L shl 31).toInt() // set reserved bit
          writer.frameHeader(streamId, Http2.INITIAL_MAX_FRAME_SIZE, Http2.TYPE_DATA, FLAG_NONE)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("reserved bit set: -2147483645")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/DoublesTest.java

        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Doubles.toArray(bytes)).isEqualTo(array);
        assertThat(Doubles.toArray(shorts)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Floats.toArray(bytes)).isEqualTo(array);
        assertThat(Floats.toArray(shorts)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Floats.toArray(bytes)).isEqualTo(array);
        assertThat(Floats.toArray(shorts)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

    })
    @NullUnmarked
    public class NullPointerTesterTest extends TestCase {
    
      /** Non-NPE RuntimeException. */
      public static class FooException extends RuntimeException {
        private static final long serialVersionUID = 1L;
      }
    
      /**
       * Class for testing all permutations of static/non-static one-argument methods using
       * methodParameter().
       */
      @SuppressWarnings("unused") // used by reflection
      public static class OneArg {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Monitor.java

       */
      private static long initNanoTime(long timeoutNanos) {
        if (timeoutNanos <= 0L) {
          return 0L;
        } else {
          long startTime = System.nanoTime();
          return (startTime == 0L) ? 1L : startTime;
        }
      }
    
      /**
       * Returns the remaining nanos until the given timeout, or 0L if the timeout has already elapsed.
       * Caller must have previously sanitized timeoutNanos using toSafeNanos.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
Back to top