Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 766 for inputs (0.07 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

      private static final class ByteArrayDataInputStream implements ByteArrayDataInput {
        final DataInput input;
    
        ByteArrayDataInputStream(ByteArrayInputStream byteArrayInputStream) {
          this.input = new DataInputStream(byteArrayInputStream);
        }
    
        @Override
        public void readFully(byte[] b) {
          try {
            input.readFully(b);
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      }
    
      private static void testSortDescending(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testSortDescending(
          byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

        }
    
        /**
         * Update digest with data
         *
         * @param input
         *            The input data to update the digest with
         * @param offset
         *            The starting offset in the input data
         * @param len
         *            The length of data to process
         */
        public void update(final byte[] input, final int offset, final int len) {
            if (log.isTraceEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. 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)
  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. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

     * Each line of the `urltestdata.txt` file specifies a test. Lines look like this:
     *
     * ```
     * http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/
     * ```
     */
    class WebPlatformUrlTestData {
      var input: String? = null
      var base: String? = null
      var scheme = ""
      var username = ""
      var password: String? = null
      var host = ""
      var port = ""
      var path = ""
      var query = ""
      var fragment = ""
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. 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)
  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/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)
Back to top