Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,413 for Empty (0.01 sec)

  1. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            }
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate
       * implementation for Joiner since it fails on leading empty components.
       */
      @Benchmark
      int stringBuilderIsEmpty(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. 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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. cmd/object-api-getobjectinfo_test.go

    	if err != nil {
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Put an empty directory
    	_, err = obj.PutObject(context.Background(), "test-getobjectinfo", "Asia/empty-dir/", mustGetPutObjReader(t, bytes.NewBufferString(""), int64(len("")), "", ""), opts)
    	if err != nil {
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct.");
        }
    
        /**
         * Test the getEntries() method when the DfsEnumArray200 is empty.
         * Verifies that an empty array is returned.
         */
        @Test
        void testGetEntries_Empty() {
            // Given
            MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum("test-server");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt

      fun peek(): Headers? = null
    
      @Throws(IOException::class)
      fun get(): Headers
    
      companion object {
        @JvmField
        val EMPTY: TrailersSource =
          object : TrailersSource {
            override fun peek() = Headers.EMPTY
    
            override fun get() = Headers.EMPTY
          }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

                assertEquals(0, map.size());
            }
    
            // Test with empty values
            configParameters = "config.empty=\nfield.xpath.empty=";
            result = ParameterUtil.createConfigParameterMap(configParameters);
            assertEquals(1, result.get(ConfigName.CONFIG).size());
            assertEquals("", result.get(ConfigName.CONFIG).get("empty"));
            assertEquals(1, result.get(ConfigName.XPATH).size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

         */
        public OptionalEntity<FileConfig> getFileConfigByName(final String name) {
            final ListResultBean<FileConfig> list = fileConfigBhv.selectList(cb -> {
                cb.query().setName_Equal(name);
                cb.query().addOrderBy_SortOrder_Asc();
            });
            if (list.isEmpty()) {
                return OptionalEntity.empty();
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/CopyUtil.java

         *
         * @param in the input file (must not be {@literal null})
         * @param inputEncoding the input file encoding (must not be {@literal null} or empty)
         * @param out the output file (must not be {@literal null})
         * @param outputEncoding the output file encoding (must not be {@literal null} or empty)
         * @return the number of characters copied
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            return new FessUserBean(user);
        }
    
        /**
         * Gets the cookie remember-me key for persistent login.
         * Currently returns empty as remember-me functionality is not enabled.
         *
         * @return an optional thing containing the remember-me key, or empty if not configured
         */
        @Override
        protected OptionalThing<String> getCookieRememberMeKey() {
            // example to use remember-me
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. 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
        public void test_init_withEmptyFields() {
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getQueryFacetFields() {
                    return "";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top