Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,310 for input (0.02 sec)

  1. guava/src/com/google/common/net/MediaType.java

          this.input = input;
        }
    
        @CanIgnoreReturnValue
        String consumeTokenIfPresent(CharMatcher matcher) {
          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Base64Util.java

         * <p>
         * This method uses {@link java.util.Base64.Encoder} for encoding.
         * </p>
         *
         * @param inData
         *            The data to encode
         * @return The encoded data, or an empty string if the input is null or empty
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
                return "";
            }
            return Base64.getEncoder().encodeToString(inData);
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            assertEquals(flags, avFlags.getFlags(), "Flags should match the input integer");
    
            // Test with zero
            int zeroFlags = 0;
            AvFlags zeroAvFlags = new AvFlags(zeroFlags);
            assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero flags");
            assertEquals(zeroFlags, zeroAvFlags.getFlags(), "Flags should be 0 for zero input");
    
            // Test with maximum integer value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharStreams.java

       *
       * <p>This method prioritizes convenience over performance: It reads the entire input into memory
       * immediately. To instead read and process lines individually, use an alternative like {@link
       * BufferedReader#lines()}.
       *
       * <p><b>Java 25+ users:</b> If the input is a {@link Reader}, you may prefer {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

         * Test that validateInputStream accepts non-null input streams.
         */
        public void test_validateInputStream_acceptsNonNullStream() {
            final InputStream in = new ByteArrayInputStream(new byte[0]);
    
            // Should not throw exception
            extractor.testValidateInputStream(in);
        }
    
        /**
         * Test that validateInputStream throws CrawlerSystemException for null input.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                assertNotNull(is1, "Default input stream should not be null");
                assertNotNull(is2, "Input stream with sharing should not be null");
                assertNotNull(is3, "Input stream with full params should not be null");
                assertSame(mockInputStream, is1, "Should return expected input stream");
                assertSame(mockInputStream, is2, "Should return expected input stream");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       * consistent hashing</a> for more information.
       */
      public static int consistentHash(long input, int buckets) {
        checkArgument(buckets > 0, "buckets must be positive: %s", buckets);
        LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input);
        int candidate = 0;
        int next;
    
        // Jump from bucket to bucket until we go out of range
        while (true) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. tests/test_request_params/test_body/test_optional_str.py

        client = TestClient(app)
        response = client.post("/model-optional-str")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "input": None,
                    "loc": ["body"],
                    "msg": "Field required",
                    "type": "missing",
                },
            ],
        }
    
    
    @pytest.mark.parametrize(
        "path",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. misc/chrome/gophertool/popup.html

    <a href="#" url="https://golang.org/change">commit</a>, or
    <a href="#" url="https://golang.org/pkg/">pkg</a> id/name:</small>
    <form style='margin: 0' id='navform'><nobr><input id="inputbox" size=10 tabindex=1 /><input type="submit" value="go" /></nobr></form>
    <small>Also: <a href="#" url="https://build.golang.org">buildbots</a>
    <a href="#" url="https://github.com/golang/go">GitHub</a>
    </small>
    </body>
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Mar 05 02:35:21 UTC 2021
    - 830 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial003.py

                    "type": "missing",
                    "loc": ["body", "name"],
                    "msg": "Field required",
                    "input": {},
                },
                {
                    "type": "missing",
                    "loc": ["body", "price"],
                    "msg": "Field required",
                    "input": {},
                },
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top