Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2191 - 2200 of 4,299 for avoid (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

      @SuppressWarnings("DoNotCall")
      public void testRemove() {
        Iterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testAdd() {
        ListIterator<String> iterator = create();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

    public class ListReplaceAllTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
        expectContents(nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDCacheImplTest.java

            } catch (SmbException e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("resolveSids(DcerpcHandle,...) populates acct, domain and type for known types")
        void resolveSids_populatesFields_happyPath() throws Exception {
            SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
            DcerpcHandle handle = mock(DcerpcHandle.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractBiMap.java

        removeFromInverseMap(oldValue);
        return oldValue;
      }
    
      private void removeFromInverseMap(@ParametricNullness V oldValue) {
        inverse.delegate.remove(oldValue);
      }
    
      // Bulk Operations
    
      @Override
      public void putAll(Map<? extends K, ? extends V> map) {
        for (Entry<? extends K, ? extends V> entry : map.entrySet()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

         *            the maxBufferSize to set
         */
        public final void setMaxBufferSize(final int maxBufferSize) {
            this.maxBufferSize = maxBufferSize;
        }
    
        /**
         * Sets the maximum data count for this transaction
         * @param maxDataCount
         *            the maxDataCount to set
         */
        public final void setMaxDataCount(final int maxDataCount) {
            this.maxDataCount = maxDataCount;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    @GwtCompatible
    @NullUnmarked
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(immediateVoidFuture())).isEqualTo(null);
      }
    
      public void testFailed() {
        Exception failureCause = new Exception();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      public void testSize_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          assertThat(cache.size()).isEqualTo(WARMUP_SIZE);
          assertMapSize(cache.asMap(), WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testContainsKey_found() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                }
                // If no credentials path, uses default credentials (GOOGLE_APPLICATION_CREDENTIALS env var)
            }
    
            this.storage = builder.build().getService();
        }
    
        @Override
        public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) {
            try {
                final BlobId blobId = BlobId.of(bucket, objectName);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/rpc.java

             */
            public byte clock_seq_low;
            /**
             * The spatially unique node identifier (6 bytes).
             */
            public byte[] node;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(time_low);
                _dst.enc_ndr_short(time_mid);
                _dst.enc_ndr_short(time_hi_and_version);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

    @DisplayName("UpgradeResult")
    class UpgradeResultTest {
    
        @Nested
        @DisplayName("Result Creation")
        class ResultCreationTests {
    
            @Test
            @DisplayName("should create empty result")
            void shouldCreateEmptyResult() {
                UpgradeResult result = UpgradeResult.empty();
    
                assertTrue(result.success(), "Empty result should be successful");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top