Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for disable (0.17 sec)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        // This is used by the ClassLoader-leak test in FinalizableReferenceQueueTest to disable
        // finding Finalizer on the system class path even if it is there.
        @VisibleForTesting static boolean disabled;
    
        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          if (disabled) {
            return null;
          }
          ClassLoader systemLoader;
          try {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        // This is used by the ClassLoader-leak test in FinalizableReferenceQueueTest to disable
        // finding Finalizer on the system class path even if it is there.
        @VisibleForTesting static boolean disabled;
    
        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          if (disabled) {
            return null;
          }
          ClassLoader systemLoader;
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. guava-gwt/pom.xml

              <show>package</show>
            </configuration>
          </plugin>
          <!-- Disable "normal" testing, which doesn't work for GWT tests. -->
          <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <skip>true</skip>
            </configuration>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. .github/workflows/scorecard.yml

              #   - `publish_results` will always be set to `false`, regardless
              #     of the value entered here.
              publish_results: true
    
          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
          - name: "Upload artifact"
            uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
            with:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

       * maximumSize}{@code (0)}, ignoring any otherwise-specified maximum size or weight. This can be
       * useful in testing, or to disable caching temporarily without a code change.
       *
       * <p>Expired entries may be counted in {@link Cache#size}, but will never be visible to read or
       * write operations. Expired entries are cleaned up as part of the routine maintenance described
       * in the class javadoc.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        assertNotSame(frqC, sepFrqC);
    
        Class<?> sepFrqSystemLoaderC =
            sepLoader.loadClass(FinalizableReferenceQueue.SystemLoader.class.getName());
        Field disabled = sepFrqSystemLoaderC.getDeclaredField("disabled");
        disabled.setAccessible(true);
        disabled.set(null, true);
    
        Class<?> frqUserC = FrqUser.class;
        Class<?> sepFrqUserC = sepLoader.loadClass(frqUserC.getName());
        assertNotSame(frqUserC, sepFrqUserC);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * {@code C}
       *
       * <ul>
       *   <li>All visible static methods are checked such that passing null for any parameter that's
       *       not annotated nullable (according to the rules of {@link NullPointerTester}) should throw
       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/MapIteratorCache.java

          }
    
          @Override
          public boolean contains(@CheckForNull Object key) {
            return containsKey(key);
          }
        };
      }
    
      // Internal methods (package-visible, but treat as only subclass-visible)
    
      @CheckForNull
      V getIfCached(@CheckForNull Object key) {
        Entry<K, V> entry = cacheEntry; // store local reference for thread-safety
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/annotations/VisibleForTesting.java

     * the License.
     */
    
    package com.google.common.annotations;
    
    /**
     * Annotates a program element that exists, or is more widely visible than otherwise necessary, only
     * for use in test code.
     *
     * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 30 22:25:16 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
         * that NullPointerTester wants.
         *
         * (This empty method disables the automatic null testing provided by PackageSanityTests.)
         */
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
Back to top