Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 621 for isInput (0.55 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

            println(failure)
          }
          throw failures.first()
        }
      }
    
      private fun testToAscii(
        input: String,
        output: String?,
        comment: String?,
      ) {
        val url = "https://$input/".toHttpUrlOrNull()
        assertThat(url?.host, name = comment ?: input).isEqualTo(output)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

              A result(Collector<T, A, R> collector, Iterable<T> inputs) {
            A accum = collector.supplier().get();
            for (T input : inputs) {
              collector.accumulator().accept(accum, input);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators left-to-right. */
        MERGE_LEFT_ASSOCIATIVE {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      private static final class RoundToDoubleTester {
        private final BigDecimal input;
        private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class);
        private boolean unnecessaryShouldThrow = false;
    
        RoundToDoubleTester(BigDecimal input) {
          this.input = input;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/InputStreamUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param is the input stream (must not be {@literal null})
         * @return the byte array
         */
        public static final byte[] getBytes(final InputStream is) {
            assertArgumentNotNull("is", is);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

                newOutputs = outputs;
            }
        }
    
        /**
         * Gets the new input words.
         *
         * @return The new input words.
         */
        public String[] getNewInputs() {
            return newInputs;
        }
    
        /**
         * Sets the new input words.
         *
         * @param newInputs The new input words.
         */
        public void setNewInputs(final String[] newInputs) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * and object data from the byte array input stream.
         * </p>
         *
         * @param bytes the byte array to deserialize
         * @return the deserialized object
         */
        protected Object deserializeWithKryo(final byte[] bytes) {
            final Kryo kryo = kryoThreadLocal.get();
            try (final Input input = new Input(new ByteArrayInputStream(bytes))) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

        void testWriteReadInt4RoundTrip(long input) {
            byte[] buffer = new byte[8];
            SMBUtil.writeInt4(input, buffer, 0);
            int result = SMBUtil.readInt4(buffer, 0);
            assertEquals((int) (input & 0xFFFFFFFFL), result);
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEF0L })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      int charSplitter(int reps) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

            }
    
            @Test
            @DisplayName("Should encode input parameters correctly")
            void testEncodeIn() throws NdrException {
                // Given: Close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // When: Encoding input
                message.encode_in(mockNdrBuffer);
    
                // Then: Should encode handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item4 = new StopwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
            assertEquals(item1.hashCode(), item2.hashCode());
            assertEquals(item1.hashCode(), item3.hashCode());
    
            // Different input should have different hashCode
            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top