Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 2,350 for Pong (0.02 seconds)

  1. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        for (byte value : VALUES) {
          assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.saturatedCast((long) value)).isEqualTo(value);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        void testGetOffsetConsistency() {
            byte[] buffer = new byte[] { 0x42, 0x00, 0x00, 0x00 }; // 66
            response.readParameterWordsWireFormat(buffer, 0);
    
            long firstCall = response.getOffset();
            long secondCall = response.getOffset();
            long thirdCall = response.getOffset();
    
            assertEquals(66L, firstCall, "First call should return 66");
            assertEquals(66L, secondCall, "Second call should return 66");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. src/archive/tar/writer_test.go

    		// It was verified to work with GNU tar 1.27.1 and BSD tar 3.1.2.
    		//  dd if=/dev/zero bs=1G count=16 >> writer-big-long.tar
    		//  gnutar -xvf writer-big-long.tar
    		//  bsdtar -xvf writer-big-long.tar
    		//
    		// This file is in PAX format.
    		file:     "testdata/writer-big-long.tar.base64",
    		obscured: true,
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        var throttleBytesPerPeriod: Long = mockResponse.throttleBytesPerPeriod
        throttleBytesPerPeriod = mockResponse.throttleBytesPerPeriod
        var throttlePeriod: Long = mockResponse.getThrottlePeriod(TimeUnit.SECONDS)
        mockResponse = mockResponse.setBodyDelay(0L, TimeUnit.SECONDS)
        val bodyDelay: Long = mockResponse.getBodyDelay(TimeUnit.SECONDS)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java

                tmp.writeVLong(Long.MAX_VALUE - i);
            }
            BytesReference bytesArray = tmp.copyBytes();
            if (bytesArray instanceof BytesArray == false) {
                throw new AssertionError("expected BytesArray but saw [" + bytesArray.getClass() + "]");
            }
            this.streamInput = bytesArray.streamInput();
        }
    
        @Benchmark
        public long readVLong() throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final long before = System.currentTimeMillis();
            helper.sendHeartbeat();
            final long after = System.currentTimeMillis();
    
            assertNotNull(capturedBody.get());
            final Map<String, Object> body = coordinatorHelper.parseJson(capturedBody.get());
            final long createdTime = ((Number) body.get("createdTime")).longValue();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/AbstractCache.java

              negativeToMaxValue(evictionCount.sum()));
        }
    
        /** Returns {@code value}, if non-negative. Otherwise, returns {@link Long#MAX_VALUE}. */
        private static long negativeToMaxValue(long value) {
          return (value >= 0) ? value : Long.MAX_VALUE;
        }
    
        /** Increments all counters by the values in {@code other}. */
        public void incrementBy(StatsCounter other) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileAuthentication.java

        private static final long serialVersionUID = 1L;
    
        private static final Logger logger = LogManager.getLogger(FileAuthentication.class);
    
        private FileConfig fileConfig;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/witness/WitnessHeartbeatRequest.java

        /**
         * Gets the sequence number.
         *
         * @return the sequence number
         */
        public long getSequenceNumber() {
            return sequenceNumber;
        }
    
        /**
         * Sets the sequence number.
         *
         * @param sequenceNumber the sequence number
         */
        public void setSequenceNumber(long sequenceNumber) {
            this.sequenceNumber = sequenceNumber;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Predicates.java

       *
       * {@snippet :
       * List<Class<?>> classes = Arrays.asList(Object.class, String.class, Number.class, Long.class);
       * return Iterables.filter(classes, subtypeOf(Number.class));
       * }
       *
       * The code above returns an iterable containing {@code Number.class} and {@code Long.class}.
       *
       * <p><b>Discouraged:</b> Prefer using {@code clazz::isAssignableFrom} or {@code x ->
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top