Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,414 for empty (0.42 sec)

  1. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            // 20 bytes fixed + 2 * length
            assertEquals(20 + 2 * longFileName.length(), info.size());
        }
    
        @Test
        @DisplayName("Test size calculation with empty filename")
        void testSizeWithEmptyFilename() {
            FileRenameInformation2 info = new FileRenameInformation2("", false);
            assertEquals(20, info.size());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    }
    
    // Test that the line splitter handles a final empty line.
    func TestScanLineEmptyFinalLine(t *testing.T) {
    	const text = "abcdefghijklmn\nopqrstuvwxyz\n\n"
    	lines := []string{
    		"abcdefghijklmn",
    		"opqrstuvwxyz",
    		"",
    	}
    	testNoNewline(text, lines, t)
    }
    
    // Test that the line splitter handles a final empty line with a carriage return but no newline.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/PairedStats.java

       * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}.
       *
       * @throws IllegalStateException if the dataset is empty
       */
      public double populationCovariance() {
        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertEquals(28, bytesRead); // Header + one referral structure
            }
    
            @Test
            @DisplayName("Should handle empty buffer in readDataWireFormat")
            void testReadDataWireFormatEmptyBuffer() {
                byte[] buffer = new byte[0];
    
                // Empty buffer causes ArrayIndexOutOfBoundsException when trying to read
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> Optional<T> lookupOptional(Class<T> type) {
                    return Optional.empty();
                }
    
                @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ByteEncodableTest.java

        }
    
        @Test
        void testEncodeEmptySourceArray() {
            // Test with an empty source array
            byte[] data = {};
            ByteEncodable encodable = new ByteEncodable(data, 0, 0);
            byte[] dest = new byte[1];
    
            int encodedLen = encodable.encode(dest, 0);
    
            assertEquals(0, encodedLen, "Encoded length should be zero for empty source array");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

            }
    
            @Override
            public String id() {
                return "UNRESOLVED";
            }
    
            @Override
            public Optional<String> option() {
                return Optional.empty();
            }
    
            @Override
            public String[] option(Iterable<? extends Path> paths) {
                return new String[0];
            }
        };
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Jan 07 12:02:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. cmd/batch-replicate.go

    	SessionToken string `xml:"SessionToken" json:"sessionToken,omitempty" yaml:"sessionToken"`
    }
    
    // Empty indicates if credentials are not set
    func (c BatchJobReplicateCredentials) Empty() bool {
    	return c.AccessKey == "" && c.SecretKey == "" && c.SessionToken == ""
    }
    
    // Validate validates if credentials are valid
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top