Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 1,917 for empty (0.02 seconds)

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

    public class MapClearTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/user/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for User.
     *
     */
    public class CreateForm {
    
        /**
         * Default constructor.
         */
        public CreateForm() {
            // Empty constructor
        }
    
        /**
         * The CRUD mode for the form.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The username of the user.
         */
        @Required
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

            }
        }
    
        /**
         * Returns whether the constructor is <code>public</code>.
         *
         * @param constructor the constructor (must not be {@literal null} or empty string)
         * @return whether the constructor is <code>public</code>
         */
        public static boolean isPublic(final Constructor<?> constructor) {
            assertArgumentNotNull("constructor", constructor);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/Graphs.java

      // Graph query methods
    
      /**
       * Returns true if {@code graph} has at least one cycle. A cycle is defined as a non-empty subset
       * of edges in a graph arranged to form a path (a sequence of adjacent outgoing edges) starting
       * and ending with the same node.
       *
       * <p>This method will detect any non-empty cycle, including self-loops (a cycle of length 1).
       */
      public static <N> boolean hasCycle(Graph<N> graph) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        }
        Collections.reverse(descending);
        assertEquals(values, descending);
      }
    
      public void testEmptySubSet() {
        NavigableSet<E> empty = navigableSet.subSet(e0(), false, e0(), false);
        assertEquals(new TreeSet<E>(), empty);
      }
    
      /*
       * TODO(cpovirk): more testing of subSet/headSet/tailSet/descendingSet? and/or generate derived
       * suites?
       */
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  6. internal/event/rulesmap.go

    	return rulesMap[eventName].Match(objectName)
    }
    
    // NewRulesMap - creates new rules map with given values.
    func NewRulesMap(eventNames []Name, pattern string, targetID TargetID) RulesMap {
    	// If pattern is empty, add '*' wildcard to match all.
    	if pattern == "" {
    		pattern = "*"
    	}
    
    	rulesMap := make(RulesMap)
    	rulesMap.add(eventNames, pattern, targetID)
    	return rulesMap
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            bucketIndex: Int,
        ): PerformanceTest =
            createPerformanceTest(
                model,
                performanceTestCoverage,
                stage,
                bucketIndex,
                "Empty Performance Test bucket $index",
                mapOf(),
            )
    }
    
    class TestProjectSplitBucket(
        val testProject: String,
        private val number: Int,
        val scenarios: List<PerformanceTestDuration>,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            assertEquals(1, readings.size());
            assertEquals("HELLO WORLD", readings.get(0));
        }
    
        @Test
        public void testConvertWithEmptyText() throws IOException {
            // Test convert with empty text
            converter.init();
            String text = "";
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionContainsAllTester<E> extends AbstractCollectionTester<E> {
      public void testContainsAll_empty() {
        assertTrue(
            "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testContainsAll_subset() {
        assertTrue(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertArrayEquals(hashAlgos, decoded.getHashAlgos());
                assertArrayEquals(salt, decoded.getSalt());
            }
    
            @Test
            @DisplayName("Should handle empty arrays in encode/decode")
            void testEmptyArraysEncodeDecode() throws SMBProtocolDecodingException {
                context = new PreauthIntegrityNegotiateContext(mockConfig, new int[0], new byte[0]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top