Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,617 for empty (0.32 sec)

  1. cmd/batch-job-common-types.go

    	return nil
    }
    
    // Validate returns an error if key is empty
    func (kv BatchJobKV) Validate() error {
    	if kv.Key == "" {
    		return BatchJobYamlErr{
    			line: kv.line,
    			col:  kv.col,
    			msg:  "key can't be empty",
    		}
    	}
    	return nil
    }
    
    // Empty indicates if kv is not set
    func (kv BatchJobKV) Empty() bool {
    	return kv.Key == "" && kv.Value == ""
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. internal/crypto/sse-s3.go

    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    	if keyID != "" && len(kmsKey) == 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        StringSubscriber s2 = new StringSubscriber();
        ObjectSubscriber o1 = new ObjectSubscriber();
    
        Iterator<Subscriber> empty = registry.getSubscribers("");
        assertFalse(empty.hasNext());
    
        empty = registry.getSubscribers("");
    
        registry.register(s1);
        assertFalse(empty.hasNext());
    
        Iterator<Subscriber> one = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

     * @since 4.0.0
     */
    @Experimental
    public interface Interpolator extends Service {
    
        /**
         * Interpolates the values in the given map using the provided callback function.
         * This method defaults to setting empty strings for unresolved placeholders.
         *
         * @param properties The map containing key-value pairs to be interpolated.
         * @param callback The function to resolve variable values not found in the map.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/FileUtilTest.java

            FileUtil.readBytes(file, 0);
        }
    
        /**
         * Test readBytes with custom maxSize for empty file
         *
         * @throws Exception
         */
        @Test
        public void testReadBytes_CustomMaxSize_EmptyFile() throws Exception {
            final File file = tempFolder.newFile("empty.txt");
    
            // Empty file should work with any maxSize including 0
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

            return StringUtil.isBlank(s) ? StringUtil.EMPTY : "/" + s;
        }
    
        /**
         * Gets the virtual host key from the current request.
         * The key is determined by matching HTTP headers against configured virtual hosts.
         *
         * @return The virtual host key, or empty string if no match found
         */
        public String getVirtualHostKey() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

         *
         * @param settings The settings' string representation, may be empty or {@code null}.
         */
        public StringSettingsSource(CharSequence settings) {
            this(settings, null);
        }
    
        /**
         * Creates a new settings source backed by the specified string.
         *
         * @param settings The settings' string representation, may be empty or {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. futures/listenablefuture1/pom.xml

        - If users want all of Guava, they depend on guava, which, as of Guava
        27.0, depends on
        listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-...
        version number is enough for some build systems (notably, Gradle) to select
        that empty artifact over the "real" listenablefuture-1.0 -- avoiding a
        conflict with the copy of ListenableFuture in guava itself. If users are
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 19:27:26 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            return null;
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type) {
            return Optional.empty();
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

        }
    
        /**
         * Test extraction with empty input stream.
         */
        public void test_getText_emptyInputStream_returnsEmptyContent() {
            final InputStream in = new ByteArrayInputStream(new byte[0]);
    
            final ExtractData result = textExtractor.getText(in, null);
    
            assertNotNull(result);
            assertNotNull(result.getContent());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top