Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,620 for emptify (0.11 seconds)

  1. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. 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++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertNotNull(e.getOptions(), "Options map should not be null");
            assertTrue(e.getOptions().isEmpty(), "Default options should be empty");
        }
    
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", "svc/******@****.***" })
        @DisplayName("Name parameter is ignored (null/empty/arbitrary)")
        void nameParameter_isIgnoredAndDoesNotAffectResult(String name) {
            // Arrange
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(ASCII.length(), CharStreams.exhaust(reader));
        assertEquals(-1, reader.read());
        assertEquals(0, CharStreams.exhaust(reader));
    
        Reader empty = new StringReader("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(-1, empty.read());
      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(ASCII.length(), CharStreams.exhaust(reader));
        assertEquals(-1, reader.read());
        assertEquals(0, CharStreams.exhaust(reader));
    
        Reader empty = new StringReader("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(-1, empty.read());
      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. guava/module.json

                "requires": "1.0.3"
              }
            },
            {
              "group": "com.google.guava",
              "module": "listenablefuture",
              "version": {
                "requires": "9999.0-empty-to-avoid-conflict-with-guava"
              }
            },
            {
              "group": "org.jspecify",
              "module": "jspecify",
              "version": {
                "requires": "${jspecify.version}"
              }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 19:50:42 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

         */
        public OptionalEntity<CharMappingFile> getCharMappingFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId)
                    .filter(CharMappingFile.class::isInstance)
                    .map(file -> OptionalEntity.of((CharMappingFile) file))
                    .orElse(OptionalEntity.empty());
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. 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
          }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       *     // operate on tuple
       *   }
       * }
       * }
       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
       * all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        default Optional<InputStream> stdIn() {
            return Optional.ofNullable(parserRequest().stdIn());
        }
    
        /**
         * Returns the output stream for the Maven execution, if running in embedded mode.
         *
         * @return an {@link Optional} containing the output stream, or empty if not applicable
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top