Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 648 for clears (0.13 sec)

  1. android/guava/src/com/google/common/collect/TreeMultiset.java

        Serialization.getFieldSetter(AbstractSortedMultiset.class, "comparator").set(this, comparator);
        Serialization.getFieldSetter(TreeMultiset.class, "range")
            .set(this, GeneralRange.all(comparator));
        Serialization.getFieldSetter(TreeMultiset.class, "rootReference")
            .set(this, new Reference<AvlNode<E>>());
        AvlNode<E> header = new AvlNode<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocMapTest.java

    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DocMapTest extends UnitFessTestCase {
        public void test_DocList() {
            Map<String, Object> value = new LinkedHashMap<>();
            DocMap docMap = new DocMap(value);
            assertTrue(docMap.isEmpty());
            value.clear();
    
            List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testClear_unsupportedByEmptyCollection() {
        try {
          collection.clear();
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tests/associations_belongs_to_test.go

    	// Clear
    	if err := DB.Model(&user2).Association("Company").Clear(); err != nil {
    		t.Errorf("Error happened when clear Company, got %v", err)
    	}
    
    	if err := DB.Model(&user2).Association("Manager").Clear(); err != nil {
    		t.Errorf("Error happened when clear Manager, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Company", 0, "after clear")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. association.go

    			appendToRelations(reflectValue.Index(i), reflect.Indirect(reflect.ValueOf(values[i])), clear)
    			if association.Error != nil {
    				return
    			}
    
    			// TODO support save slice data, sql with case?
    			association.Error = associationDB.Updates(reflectValue.Index(i).Addr().Interface()).Error
    		}
    	case reflect.Struct:
    		// clear old data
    		if clear && len(values) == 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt

        settings[Settings.ENABLE_PUSH] = 1
        assertThat(settings.getEnablePush(false)).isTrue()
        settings.clear()
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE)
        settings[Settings.MAX_CONCURRENT_STREAMS] = 75
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(75)
        settings.clear()
        assertThat(settings.getMaxFrameSize(16384)).isEqualTo(16384)
        settings[Settings.MAX_FRAME_SIZE] = 16777215
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

          if (record != null) {
            list.add(record);
          }
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public void clear() {
        synchronized (lock) {
          list.clear();
        }
      }
    
      /** Returns a snapshot of the logged records. */
      /*
       * TODO(cpovirk): consider higher-level APIs here (say, assertNoRecordsLogged(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultiset.java

        Serialization.getFieldSetter(AbstractSortedMultiset.class, "comparator").set(this, comparator);
        Serialization.getFieldSetter(TreeMultiset.class, "range")
            .set(this, GeneralRange.all(comparator));
        Serialization.getFieldSetter(TreeMultiset.class, "rootReference")
            .set(this, new Reference<AvlNode<E>>());
        AvlNode<E> header = new AvlNode<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingMap.java

        }
        return null;
      }
    
      /**
       * A sensible definition of {@link #clear} in terms of the {@code iterator} method of {@link
       * #entrySet}. In many cases, you may wish to override {@link #clear} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected void standardClear() {
        Iterators.clear(entrySet().iterator());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/LruHashSet.java

        public boolean remove(final Object o) {
            return map.remove(o) == PRESENT;
        }
    
        /**
         * Removes all of the elements from this set.
         */
        @Override
        public void clear() {
            map.clear();
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top