Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,413 for EMPTY (0.02 sec)

  1. guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testConcat() {
        assertThat(Floats.concat()).isEqualTo(EMPTY);
        assertThat(Floats.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Floats.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Floats.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertArrayEquals(key, transport.getServerEncryptionKey());
            verify(transport).getServerEncryptionKey();
    
            // Empty array
            byte[] empty = new byte[0];
            when(transport.getServerEncryptionKey()).thenReturn(empty);
            assertArrayEquals(empty, transport.getServerEncryptionKey());
    
            // Null
            when(transport.getServerEncryptionKey()).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

        @Nonnull
        Stream<P> problems(BuilderProblem.Severity severity);
    
        /**
         * Creates an "empty" problem collector that doesn't store any problems.
         *
         * @param <P> the type of problem
         * @return an empty problem collector
         */
        @Nonnull
        static <P extends BuilderProblem> ProblemCollector<P> empty() {
            return new ProblemCollector<>() {
                @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/URLUtil.java

         * format using the specified encoding scheme.
         *
         * @param s
         *            The string to be converted. Must not be {@literal null} or empty.
         * @param enc
         *            The encoding scheme. Must not be {@literal null} or empty.
         * @return The string encoded in <code>application/x-www-form-urlencoded</code> format.
         */
        public static String encode(final String s, final String enc) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/EmptyIteratorTest.java

        }
    
        @Test
        @DisplayName("EmptyIterator should follow Iterator contract for empty collections")
        void testIteratorContract() {
            // Given - typical Iterator usage pattern
    
            // When & Then - verify empty collection behavior
            assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         *
         * @param baseDirectory the base directory for relativizing paths during matching
         * @param includes the patterns of files to include, or null/empty for including all files
         * @param excludes the patterns of files to exclude, or null/empty for no exclusion
         * @param useDefaultExcludes whether to augment excludes with default SCM exclusion patterns
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

          assertThat(expected.message).isEqualTo("Code 1005 is reserved and may not be used.")
        }
      }
    
      @Test fun serverEmptyPing() {
        serverWriter.writePing(EMPTY)
        assertData("8900")
      }
    
      @Test fun clientEmptyPing() {
        clientWriter.writePing(EMPTY)
        assertData("898060b420bb")
      }
    
      @Test fun serverPingWithPayload() {
        serverWriter.writePing("Hello".encodeUtf8())
        assertData("890548656c6c6f")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * The default value is empty.
         */
        default Optional<String> module() {
            return Optional.empty();
        }
    
        /**
         * {@return the version of the platform where the code will be executed}.
         * In a Java environment, this is the value of the {@code --release} compiler option.
         * The default value is empty.
         */
        default Optional<Version> targetVersion() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

        @Nonnull
        <T> T lookup(Class<T> type, String name);
    
        /**
         * Performs a lookup for optional typed component.
         *
         * @param type The component type.
         * @return Optional carrying component or empty optional if no such component.
         * @param <T> The component type.
         * @throws LookupException if there is some provisioning related issue.
         */
        @Nonnull
        <T> Optional<T> lookupOptional(Class<T> type);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top