Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,917 for empty (0.02 seconds)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     */
    @GwtCompatible
    @Immutable
    public final class ImmutableDoubleArray implements Serializable {
      private static final ImmutableDoubleArray EMPTY = new ImmutableDoubleArray(new double[0]);
    
      /** Returns the empty array. */
      public static ImmutableDoubleArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
      public static ImmutableDoubleArray of(double e0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    public final class ImmutableIntArray implements Serializable {
      private static final ImmutableIntArray EMPTY = new ImmutableIntArray(new int[0]);
    
      /** Returns the empty array. */
      public static ImmutableIntArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
      public static ImmutableIntArray of(int e0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Platform.java

      }
    
      /**
       * Returns the string if it is not null, or an empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} if it is not null; {@code ""} otherwise
       */
      static String nullToEmpty(@Nullable String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

        }
    
        /**
         * Test putResultDataBody with empty array
         */
        @Test
        public void test_putResultDataBody_withEmptyArray() {
            TestFessTransformer transformer = new TestFessTransformer();
            Map<String, Object> dataMap = new HashMap<>();
    
            transformer.putResultDataBody(dataMap, "empty", "value1");
    
            String[] emptyArray = new String[] {};
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

            assertEquals(Long.valueOf(5), facetInfo.minDocCount);
            assertEquals("count.desc", facetInfo.sort);
            assertEquals("unknown", facetInfo.missing);
        }
    
        // Test init with empty fields
        @Test
        public void test_init_withEmptyFields() {
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getQueryFacetFields() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with empty buffer")
        void testReadParametersWireFormatEmptyBuffer() throws Exception {
            byte[] buffer = new byte[0];
    
            // Empty buffer adds one empty FileNotifyInformation
            int result = response.readParametersWireFormat(buffer, 0, 0);
            assertEquals(0, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. internal/crypto/sse-kms.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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertEquals("\\*\\*\\*\\?\\?\\?", escaped5);
    
            // Test empty string
            String query6 = "";
            String escaped6 = SuggestUtil.escapeWildcardQuery(query6);
            assertEquals("", escaped6);
        }
    
        @Test
        public void testGetAsListWithEmptyList() {
            // Test with empty list
            List<String> emptyList = new ArrayList<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            // empty instance already generated
            if (emptyInstanceGenerated.get(type.getType()) == freshness.get()) {
              // same freshness, generate again.
              return invokeGeneratorMethod(emptyGenerate);
            } else {
              // Cannot use empty generator. Proceed with other generators.
            }
          } else {
            // never generated empty instance for this type before.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  10. android/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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 7.7K bytes
    - Click Count (0)
Back to Top