Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 402 for negation (0.11 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
        // Check that we wait long enough anyway (presumably as long as MAX_VALUE nanos):
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/AbstractCache.java

              negativeToMaxValue(loadExceptionCount.sum()),
              negativeToMaxValue(totalLoadTime.sum()),
              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;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      // https://github.com/google/guava/issues/1781
      public void testOptimalNumOfHashFunctionsRounding() {
        assertEquals(7, BloomFilter.optimalNumOfHashFunctions(319, 3072));
      }
    
      /** Tests that we always get a non-negative optimal size. */
      public void testOptimalSize() {
        for (int n = 1; n < 1000; n++) {
          for (double fpp = Double.MIN_VALUE; fpp < 1.0; fpp += 0.001) {
            assertTrue(BloomFilter.optimalNumOfBits(n, fpp) >= 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    public final class MapTestSuiteBuilderTests extends TestCase {
      private MapTestSuiteBuilderTests() {}
    
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/AbstractCache.java

              negativeToMaxValue(loadExceptionCount.sum()),
              negativeToMaxValue(totalLoadTime.sum()),
              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;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/istio-extension-dashboard.json

                "type": "prometheus",
                "uid": "${datasource}"
              },
              "expr": "avg(envoy_wasm_remote_load_cache_negative_hits)",
              "interval": "",
              "legendFormat": "negative hits",
              "refId": "C"
            }
          ],
          "title": "Cache Visit",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "prometheus",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                result = true;
            } else {
                // process the list
                String[] repos = pattern.split(",");
                for (String repo : repos) {
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
                        if (repo.substring(1).equals(originalId)) {
                            // explicitly exclude. Set result and stop processing.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                                    return response.addrEntry[0];
                                } else if( resolveOrder[i] == RESOLVER_WINS ) {
                                    /* If WINS reports negative, no point in retry
                                     */
                                    break;
                                }
                            }
                            break;
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            assertNotNull(dependencies);
    
            assertEquals(2, dependencies.size());
    
            // ----------------------------------------------------------------------
            // Dependencies - using index notation
            // ----------------------------------------------------------------------
    
            // List
            Dependency dependency = (Dependency) ReflectionValueExtractor.evaluate("project.dependencies[0]", project);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top