Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 584 for noclear (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionClearTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        collection.clear();
        assertTrue("After clear(), a collection should be empty.", collection.isEmpty());
        assertEquals(0, collection.size());
        assertFalse(collection.iterator().hasNext());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/feature_request.md

    assignees: ''
    
    ---
    
    **Is your feature request related to a problem? Please describe.**
    A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
    
    **Describe the solution you'd like**
    A clear and concise description of what you want to happen.
    
    **Describe alternatives you've considered**
    A clear and concise description of any alternative solutions or features you've considered.
    
    **Additional context**
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 20:49:54 UTC 2019
    - 610 bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/util/DocMapTest.java

        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");
            value.put(keys.get(0), true);
            value.put(keys.get(1), 1000);
            value.put(keys.get(2), "ja");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/UrlFilter.java

        /**
         * Process an url when it's added as a seed url.
         *
         * @param url URL
         */
        void processUrl(String url);
    
        /**
         * Clear this filter.
         */
        void clear();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            assertEquals(0, list.size());
    
            cmd = "test.sh";
            params.clear();
            list = extractor.parseCommand(cmd, params);
            assertEquals(1, list.size());
            assertEquals("test.sh", list.get(0));
    
            cmd = "test.sh \"test1 ' test2\"";
            params.clear();
            list = extractor.parseCommand(cmd, params);
            assertEquals(2, list.size());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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. 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)
Back to top