Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 711 for needs (0.05 seconds)

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

                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class IntsAsListGenerator extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

          lastMethodCalled = "scheduleWithFixedDelay";
          lastInitialDelay = initialDelay;
          lastDelay = delay;
          lastUnit = unit;
          return null;
        }
    
        // No need to test these methods as they are handled by WrappingExecutorServiceTest
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          throw new UnsupportedOperationException();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

      private static final boolean[] ARRAY_FALSE_TRUE = {false, true};
    
      private static final boolean[] VALUES = {false, true};
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testHashCode() {
        assertThat(Booleans.hashCode(true)).isEqualTo(Boolean.TRUE.hashCode());
        assertThat(Booleans.hashCode(false)).isEqualTo(Boolean.FALSE.hashCode());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  4. .github/PULL_REQUEST_TEMPLATE.md

    /kind feature
    
    Optionally add one or more of the following kinds if applicable:
    /kind api-change
    /kind deprecation
    /kind failing-test
    /kind flake
    /kind regression
    -->
    
    #### What this PR does / why we need it:
    
    #### Which issue(s) this PR is related to:
    <!--
    Please link relevant issues to help with tracking.
    
    To automatically close the linked issue(s) when this PR is merged,
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Jan 20 23:14:09 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
    
            // When - initially should not need rotation
            assertFalse(context.needsKeyRotation(), "Should not need rotation initially");
    
            // Note: We can't directly test the byte limit without encrypting large amounts of data,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

        if (entryBelowLb != null) {
          // { <
          Range<C> rangeBelowLb = entryBelowLb.getValue();
          if (rangeBelowLb.upperBound.compareTo(lbToAdd) >= 0) {
            // { < }, and we will need to coalesce
            if (rangeBelowLb.upperBound.compareTo(ubToAdd) >= 0) {
              // { < > }
              ubToAdd = rangeBelowLb.upperBound;
              /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

                  notifyAll()
                }
              }
            }
          }
    
          // Update the connection flow control, as this is a shared resource.
          // Even if our stream doesn't need more data, others might.
          // But delay updating the stream flow control until that stream has been
          // consumed
          updateConnectionFlowControl(byteCount)
    
          // Notify that buffer size changed
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/internal/Finalizer.java

        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      private static @Nullable Field getInheritableThreadLocalsField() {
        if (isAndroid()) {
          /*
           * We need not worry about class unloading under Android. Plus, this approach doesn't always
           * work under Android.
           *
           * (Clearing inheritableThreadLocals could still be useful independent of class unloading, but
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            if (method.changeStatus == JApiChangeStatus.REMOVED) {
                return false
            }
            // @Override has source retention - so we need to peek into the sources
            return repository.isOverride(method)
        }
    
        Violation acceptOrReject(JApiCompatibility member, Violation rejection) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
          // Interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for Android compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
          // The interface could be package-private or private.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top