Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,917 for EMPTY (0.07 seconds)

  1. guava-tests/test/com/google/common/collect/ComparatorsTest.java

      }
    
      public void testEmptiesFirst() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. futures/listenablefuture9999/pom.xml

        <artifactId>guava-parent</artifactId>
        <version>26.0-android</version>
      </parent>
      <artifactId>listenablefuture</artifactId>
      <version>9999.0-empty-to-avoid-conflict-with-guava</version>
      <name>Guava ListenableFuture only</name>
      <description>
        An empty artifact that Guava depends on to signal that it is providing
        ListenableFuture -- but is also available in a second "version" that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 19:27:26 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. cmd/os-readdir_test.go

    type result struct {
    	dir     string
    	entries []string
    }
    
    // Test to read empty directory.
    func setupTestReadDirEmpty(t *testing.T) (testResults []result) {
    	// Add empty entry slice for this test directory.
    	testResults = append(testResults, result{t.TempDir(), []string{}})
    	return testResults
    }
    
    // Test to read non-empty directory with only files.
    func setupTestReadDirFiles(t *testing.T) (testResults []result) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                }
            }
    
            // An empty file should return no items
            assertEquals("Empty file should have no items", 0, result.size());
            assertEquals("Empty file should have no records", 0, result.getAllRecordCount());
            assertEquals("Empty file should have no pages", 0, result.getAllPageCount());
        }
    
        // Test selectList method with valid data
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        @Test
        @DisplayName("Test PacDataInputStream readString with empty string")
        void testReadEmptyString() throws Exception {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            DataOutputStream dos = new DataOutputStream(baos);
    
            // Write an empty string structure
            writeLittleEndianInt(dos, 0); // totalChars
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

        @Test
        @DisplayName("writeBytesWireFormat handles empty string gracefully")
        void testWriteEmptyString() {
            when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
            SmbComQueryInformation emptyCmd = new SmbComQueryInformation(mockConfig, "");
            byte[] buffer = new byte[10];
            int used = emptyCmd.writeBytesWireFormat(buffer, 0);
            assertEquals(2, used, "Empty path results in only command byte and NUL");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. internal/bucket/replication/datatypes.go

    	Replica StatusType = "REPLICA"
    )
    
    // String returns string representation of status
    func (s StatusType) String() string {
    	return string(s)
    }
    
    // Empty returns true if this status is not set
    func (s StatusType) Empty() bool {
    	return string(s) == ""
    }
    
    // VersionPurgeStatusType represents status of a versioned delete or permanent delete w.r.t bucket replication
    type VersionPurgeStatusType string
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Splitter.java

       *
       * @param separatorPattern the pattern that determines whether a subsequence is a separator. This
       *     pattern may not match the empty string.
       * @return a splitter, with default settings, that uses this pattern
       * @throws IllegalArgumentException if {@code separatorPattern} matches the empty string
       */
      @GwtIncompatible // java.util.regex
      public static Splitter on(Pattern separatorPattern) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Queues.java

      /**
       * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access
       * policy.
       */
      @J2ktIncompatible
      @GwtIncompatible // ArrayBlockingQueue
      public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) {
        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
       * @since 12.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

         *
         * @param name
         *            The resource name. Must not be {@literal null} or an empty string.
         * @return An iterator of URL objects for the resources. If no resources are found, the iterator will be empty.
         *         Resources that the class loader does not have access to will not be included.
         * @see java.lang.ClassLoader#getResources(String)
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top