Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 528 for isEmpty (0.09 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graph.adjacentNodes(N2)).isEmpty();
        assertThat(graph.predecessors(N2)).isEmpty();
        assertThat(graph.successors(N2)).isEmpty();
        assertThat(graph.incidentEdges(N2)).isEmpty();
        assertThat(graph.adjacentNodes(N4)).isEmpty();
        assertThat(graph.predecessors(N4)).isEmpty();
        assertThat(graph.successors(N4)).isEmpty();
        assertThat(graph.incidentEdges(N4)).isEmpty();
    
        assertNodeNotInGraphErrorMessage(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. internal/ringbuffer/ring_buffer_test.go

    	// var _ io.StringWriter = rb
    	var _ io.ByteReader = rb
    	var _ io.ByteWriter = rb
    }
    
    func TestRingBuffer_Write(t *testing.T) {
    	rb := New(64)
    
    	// check empty or full
    	if !rb.IsEmpty() {
    		t.Fatalf("expect IsEmpty is true but got false")
    	}
    	if rb.IsFull() {
    		t.Fatalf("expect IsFull is false but got true")
    	}
    	if rb.Length() != 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            if (context.options().alsoMake().isPresent()
                    && context.options().alsoMakeDependents().isEmpty()) {
                return MavenExecutionRequest.REACTOR_MAKE_UPSTREAM;
            } else if (context.options().alsoMake().isEmpty()
                    && context.options().alsoMakeDependents().isPresent()) {
                return MavenExecutionRequest.REACTOR_MAKE_DOWNSTREAM;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(NavigableMap.class).isEmpty());
        assertTrue(ArbitraryInstances.get(LinkedList.class).isEmpty());
        assertTrue(ArbitraryInstances.get(Deque.class).isEmpty());
        assertTrue(ArbitraryInstances.get(Queue.class).isEmpty());
        assertTrue(ArbitraryInstances.get(PriorityQueue.class).isEmpty());
        assertTrue(ArbitraryInstances.get(BitSet.class).isEmpty());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(NavigableMap.class).isEmpty());
        assertTrue(ArbitraryInstances.get(LinkedList.class).isEmpty());
        assertTrue(ArbitraryInstances.get(Deque.class).isEmpty());
        assertTrue(ArbitraryInstances.get(Queue.class).isEmpty());
        assertTrue(ArbitraryInstances.get(PriorityQueue.class).isEmpty());
        assertTrue(ArbitraryInstances.get(BitSet.class).isEmpty());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graph.adjacentNodes(N2)).isEmpty();
        assertThat(graph.predecessors(N2)).isEmpty();
        assertThat(graph.successors(N2)).isEmpty();
        assertThat(graph.incidentEdges(N2)).isEmpty();
        assertThat(graph.adjacentNodes(N4)).isEmpty();
        assertThat(graph.predecessors(N4)).isEmpty();
        assertThat(graph.successors(N4)).isEmpty();
        assertThat(graph.incidentEdges(N4)).isEmpty();
    
        assertNodeNotInGraphErrorMessage(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         */
        public static final boolean isEmpty(final String text) {
            return text == null || text.length() == 0;
        }
    
        /**
         * Checks if the string is not empty.
         *
         * @param text the string to check
         * @return true if not empty, false otherwise
         */
        public static final boolean isNotEmpty(final String text) {
            return !isEmpty(text);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertTrue(map.isEmpty());
        assertEquals(0, map.size());
        assertFalse(map.containsKey("1"));
        assertFalse(map.containsKey("2"));
        assertFalse(map.containsKey("3"));
        assertEquals(0L, map.get("1"));
        assertEquals(0L, map.get("2"));
        assertEquals(0L, map.get("3"));
    
        map.putAll(in);
        assertFalse(map.isEmpty());
        assertEquals(3, map.size());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    && profile.getDistributionManagement() == null
                    && profile.getModules().isEmpty()
                    && profile.getSubprojects().isEmpty()
                    && profile.getProperties().isEmpty()
                    && profile.getRepositories().isEmpty()
                    && profile.getPluginRepositories().isEmpty()
                    && profile.getReporting() == null;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. internal/bucket/replication/rule.go

    	Status Status `xml:"Status"` // should be set to "Disabled" by default
    }
    
    // IsEmpty returns true if DeleteMarkerReplication is not set
    func (d DeleteMarkerReplication) IsEmpty() bool {
    	return len(d.Status) == 0
    }
    
    // Validate validates whether the status is disabled.
    func (d DeleteMarkerReplication) Validate() error {
    	if d.IsEmpty() {
    		return errDeleteMarkerReplicationMissing
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top