Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,617 for Empty (0.38 sec)

  1. internal/config/config.go

    	if spc {
    		s.WriteString(KvDoubleQuote)
    	}
    	return s.String()
    }
    
    // KVS - is a shorthand for some wrapper functions
    // to operate on list of key values.
    type KVS []KV
    
    // Empty - return if kv is empty
    func (kvs KVS) Empty() bool {
    	return len(kvs) == 0
    }
    
    // Clone - returns a copy of the KVS
    func (kvs KVS) Clone() KVS {
    	return append(make(KVS, 0, len(kvs)), kvs...)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 37.7K bytes
    - Viewed (0)
  2. tests/lru_test.go

    	lc := lru.NewLRU(10, func(key string, value string) { evicted = append(evicted, key, value) }, 150*time.Millisecond)
    
    	k, v, ok := lc.GetOldest()
    	if k != "" {
    		t.Fatalf("should be empty")
    	}
    	if v != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    
    	lc.Add("key1", "val1")
    
    	time.Sleep(100 * time.Millisecond) // not enough to expire
    	if lc.Len() != 1 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
         * Should imply "yes" to all questions.
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> yes();
    
        /**
         * Returns the list of encryption goals to be executed.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

         *
         * @return default upgrade options
         */
        public static UpgradeOptions createDefaultOptions() {
            UpgradeOptions options = mock(UpgradeOptions.class);
            when(options.all()).thenReturn(Optional.empty());
            when(options.infer()).thenReturn(Optional.empty());
            when(options.model()).thenReturn(Optional.empty());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            assertEquals("Malformed kerberos ticket", exception.getMessage(), "The exception message should indicate a malformed ticket.");
        }
    
        /**
         * Test constructor with an empty token.
         * Empty token causes readObject() to return null, which leads to NullPointerException.
         */
        @Test
        void testConstructor_EmptyToken() {
            // 1. GIVEN
            byte[] emptyToken = new byte[0];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/resources/CLMessages.properties

    ECL0001={0} not found
    ECL0008=argument[{0}] is null.
    ECL0009=argument[{0}] is illegal. because {1}.
    ECL0010=argument[{0}] is null or empty string.
    ECL0011=argument[{0}] is null or empty array.
    ECL0012=argument[{0}] is null or empty collection.
    ECL0013=argument[{0}] is null or empty map.
    ECL0014=argument[{0}] which is null the index of array is negative integer.
    ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}].
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/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.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SSPContextTest.java

            void testMechanismEdges() {
                DummySSPContext empty = new DummySSPContext(new byte[] { 1 }, false, "", new ASN1ObjectIdentifier[0], 0, false);
                assertFalse(empty.isSupported(new ASN1ObjectIdentifier("1.2.3")));
                assertFalse(empty.isPreferredMech(new ASN1ObjectIdentifier("1.2.3")));
                assertFalse(empty.isPreferredMech(null));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java

        //                                  --------------------
        /**
         * Set the value of hostname, used in parameter comment. <br>
         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

            List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys);
    
            // THEN the result should be an empty list
            assertNotNull(result, "The result should not be null.");
            assertTrue(result.isEmpty(), "The result should be empty for unknown auth types.");
        }
    
        /**
         * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top