Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,014 for Empty (0.03 seconds)

  1. internal/bucket/lifecycle/rule.go

    		return err
    	}
    	if (!r.Filter.Tag.IsEmpty() || len(r.Filter.And.Tags) != 0) && !r.DelMarkerExpiration.Empty() {
    		return errInvalidRuleDelMarkerExpiration
    	}
    	if !r.Expiration.set && !r.Transition.set && !r.NoncurrentVersionExpiration.set && !r.NoncurrentVersionTransition.set && r.DelMarkerExpiration.Empty() {
    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  2. cmd/object-api-listobjects_test.go

    		// Test listing an empty directory in recursive mode (62)
    		{"test-bucket-empty-dir", "", "", "", 10, resultCases[31], nil, true},
    		// Test listing an empty directory in a non recursive mode (63)
    		{"test-bucket-empty-dir", "", "", SlashSeparator, 10, resultCases[32], nil, true},
    		// Test listing a directory which contains an empty directory (64)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/SetViewTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        return union(emptySet(), emptySet());
                      }
                    })
                .named("empty U empty")
                .withFeatures(CollectionSize.ZERO, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.concat()).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(ARRAY_FALSE)).isEqualTo(ARRAY_FALSE);
        assertThat(Booleans.concat(ARRAY_FALSE)).isNotSameInstanceAs(ARRAY_FALSE);
        assertThat(Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY)).isEqualTo(ARRAY_FALSE);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 25.2K bytes
    - Click Count (0)
  5. internal/ringbuffer/ring_buffer_test.go

    		t.Fatalf("expect a but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r)
    	}
    	// check empty or full
    	if rb.IsEmpty() {
    		t.Fatalf("expect IsEmpty is false but got true")
    	}
    	if rb.IsFull() {
    		t.Fatalf("expect IsFull is false but got true")
    	}
    
    	// read two, empty
    	b, err = rb.ReadByte()
    	if err != nil {
    		t.Fatalf("ReadByte failed: %v", err)
    	}
    	if b != 'b' {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Streams.java

       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 36.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                        Arguments.of("", "test-project", "1.0.0", "Should return null for empty groupId"),
                        Arguments.of("com.example", "", "1.0.0", "Should return null for empty artifactId"),
                        Arguments.of("com.example", "test-project", "", "Should return null for empty version"));
            }
        }
    
        @Nested
        @DisplayName("Artifact Computation")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  8. cmd/net.go

    		return false, err
    	}
    
    	var addr1Local, addr2Local bool
    
    	if host1 == "" {
    		// If empty host means it is localhost
    		addr1Local = true
    	} else if addr1Local, err = isLocalHost(host1, port1, port1); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	if host2 == "" {
    		// If empty host means it is localhost
    		addr2Local = true
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  9. android/guava/src/com/google/common/collect/ContiguousSet.java

          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertFalse(errors.isEmpty(), "Expected collection to not be empty but was empty");
        }
    
        @Test
        void testInvalidArtifactId() {
            Artifact plugin = new DefaultArtifact(
                    "org.apache.maven.its.plugins",
                    "maven-it-plugin",
                    "0.1",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top