Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 648 for clears (0.05 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

          super(urls);
        }
    
        @Override
        protected synchronized Class<?> loadClass(String name, boolean resolve)
            throws ClassNotFoundException {
          // Force Finalizer to load from this class loader, not its parent.
          if (name.equals(Finalizer.class.getName())) {
            Class<?> clazz = findClass(name);
            if (resolve) {
              resolveClass(clazz);
            }
            return clazz;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(RemovalCause.REPLACED, notification.getCause());
        assertTrue(listener.isEmpty());
    
        // inactive
        Object value3 = new Object();
        map.clear();
        listener.clear();
        assertEquals(0, segment.count);
        table.set(index, entry);
        assertTrue(segment.storeLoadedValue(key, hash, valueRef, value3));
        assertSame(value3, segment.get(key, hash));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(RemovalCause.REPLACED, notification.getCause());
        assertTrue(listener.isEmpty());
    
        // inactive
        Object value3 = new Object();
        map.clear();
        listener.clear();
        assertEquals(0, segment.count);
        table.set(index, entry);
        assertTrue(segment.storeLoadedValue(key, hash, valueRef, value3));
        assertSame(value3, segment.get(key, hash));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  4. tests/associations_many2many_test.go

    	// Prepare Data for Clear
    	if err := DB.Model(&user2).Association("Languages").Append(&language); err != nil {
    		t.Fatalf("Error happened when append Languages, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Languages", 1, "after prepare data")
    
    	// Clear
    	if err := DB.Model(&user2).Association("Languages").Clear(); err != nil {
    		t.Errorf("Error happened when clear Languages, got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            assertEquals(32, chars[0]);
            assertEquals(12288, chars[1]);
        }
    
        public void test_getCrawlerDocumentHtmlPrunedTagsAsArray() throws Exception {
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getCrawlerDocumentHtmlPrunedTags() {
                    return "script,div#main,p.image,a[rel=nofollow],div[x-y=a-.:_0]";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

            if (totalBytesRead == len || doneFlushing) {
              return (totalBytesRead > 0) ? totalBytesRead : -1;
            }
            draining = false;
            Java8Compatibility.clear(byteBuffer);
          }
    
          while (true) {
            // We call encode until there is no more input. The last call to encode will have endOfInput
            // == true. Then there is a final call to flush.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ReaderInputStream.java

            if (totalBytesRead == len || doneFlushing) {
              return (totalBytesRead > 0) ? totalBytesRead : -1;
            }
            draining = false;
            Java8Compatibility.clear(byteBuffer);
          }
    
          while (true) {
            // We call encode until there is no more input. The last call to encode will have endOfInput
            // == true. Then there is a final call to flush.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. tests/associations_has_one_test.go

    	// Prepare Data for Clear
    	account = Account{Number: "account-has-one-append"}
    	if err := DB.Model(&user2).Association("Account").Append(&account); err != nil {
    		t.Fatalf("Error happened when append Account, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Account", 1, "after prepare data")
    
    	// Clear
    	if err := DB.Model(&user2).Association("Account").Clear(); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. tests/associations_has_many_test.go

    	// Prepare Data for Clear
    	if err := DB.Model(&user2).Association("Pets").Append(&pet); err != nil {
    		t.Fatalf("Error happened when append Pets, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Pets", 1, "after prepare data")
    
    	// Clear
    	if err := DB.Model(&user2).Association("Pets").Clear(); err != nil {
    		t.Errorf("Error happened when clear Pets, got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

            ConcurrentModificationException.class,
            () -> {
              Iterator<V> iterator = getMap().values().iterator();
              getMap().clear();
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMap().clear());
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top