Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 841 for Zero (0.09 sec)

  1. guava/src/com/google/common/primitives/Doubles.java

       * @param b the second {@code double} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @InlineMe(replacement = "Double.compare(a, b)")
      public static int compare(double a, double b) {
        return Double.compare(a, b);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  2. cmd/http-stats.go

    }
    
    func (st *HTTPStats) addRequestsInQueue(i int32) {
    	atomic.AddInt32(&st.s3RequestsInQueue, i)
    }
    
    func (st *HTTPStats) incS3RequestsIncoming() {
    	// Golang automatically resets to zero if this overflows
    	atomic.AddUint64(&st.s3RequestsIncoming, 1)
    }
    
    // Converts http stats into struct to be sent back to the client.
    func (st *HTTPStats) toServerHTTPStats(toLowerKeys bool) ServerHTTPStats {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .Builder()
            .headersDelay(500, TimeUnit.MILLISECONDS)
            .build(),
        )
        client =
          client
            .newBuilder()
            .readTimeout(Duration.ZERO)
            .writeTimeout(Duration.ZERO)
            .callTimeout(Duration.ofMillis(100))
            .build()
        newWebSocket()
        clientListener.assertFailure(InterruptedIOException::class.java, "timeout")
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                resultField.setAccessible(true);
                assertEquals(result, resultField.get(bind), "Result should be set from decoded value");
            }
    
            @Test
            @DisplayName("decode_out should handle non-zero result codes")
            void testDecodeOutWithError() throws Exception {
                // Given
                int errorResult = 2;
                when(mockBuffer.dec_ndr_short()).thenReturn(2048, 2048, 5, errorResult, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Utf8.java

            if (index + 1 >= end) {
              return false;
            }
            int byte2 = bytes[index++];
            if (byte2 > (byte) 0xBF
                // Overlong? 5 most significant bits must not all be zero.
                || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0)
                // Check for illegal surrogate codepoints.
                || (byte1 == (byte) 0xED && byte2 >= (byte) 0xA0)
                // Third byte trailing-byte test.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/StringUtilTest.java

            // Fifth: sb.length() > 0, add "-" + null (sb becomes "null-value--null")
            assertEquals("null-value--null", result);
        }
    
        @Test
        @DisplayName("Should return empty string for zero elements")
        void testJoinWithNoElements() {
            String result = StringUtil.join(",");
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle special characters in delimiter")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    				ModTime:  time.Unix(1314603082, 0),
    			}, nil},
    			testWrite{"", 0, nil},
    
    			testClose{nil},
    		},
    	}, {
    		// The truncated test file was produced using these commands:
    		//   dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt
    		//   tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar
    		file: "testdata/writer-big.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

       * is fine with that.
       */
    
      /**
       * Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size
       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            assertTrue(updateJobLogStatusCalled[0]);
    
            // Assert error message in result
            assertTrue(result.contains("Crawling info deletion failed"));
        }
    
        // Test with zero days (should still execute)
        public void test_execute_zeroDays() {
            // Setup tracking variables
            final boolean[] deleteCrawlingInfoCalled = { false };
            final boolean[] deleteSearchLogCalled = { false };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(Double.class)).isEqualTo(Double.valueOf(0));
        assertEquals(UnsignedInteger.ZERO, ArbitraryInstances.get(UnsignedInteger.class));
        assertEquals(UnsignedLong.ZERO, ArbitraryInstances.get(UnsignedLong.class));
        assertEquals(0, ArbitraryInstances.get(BigDecimal.class).intValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top