Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 887 for inputMs (0.19 sec)

  1. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
        assertThat(SIMPLE_ESCAPER.escape(input.toString())).isEqualTo(expected.toString());
      }
    
      public void testSurrogatePairs() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
        assertThat(SIMPLE_ESCAPER.escape(input.toString())).isEqualTo(expected.toString());
      }
    
      public void testSurrogatePairs() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          new Function<@Nullable Integer, @Nullable Integer>() {
            @Override
            public @Nullable Integer apply(@Nullable Integer input) {
              return (input == null) ? null : input / 2;
            }
          };
    
      abstract static class ColumnTests extends MapTests {
        ColumnTests(
            boolean allowsNullValues,
            boolean supportsPut,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    		srcPath     string
    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		// TestXLStorage case with valid inputs, expected to pass.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "success-file",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		// TestXLStorage case with valid inputs, expected to pass.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "path/to/success-file",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbPipeHandle.java

         *
         * @return the pipe
         */
        SmbPipeResource getPipe();
    
        /**
         * Gets the input stream for reading from this pipe.
         *
         * @return this pipe's input stream
         * @throws CIFSException if an error occurs getting the input stream
         */
        InputStream getInput() throws CIFSException;
    
        /**
         * Gets the output stream for writing to this pipe.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5");
        assertFailsToDecode(base64(), "?", "Invalid input length 1");
      }
    
      public void testBase64CannotUpperCase() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            clearInvocations(handle);
    
            // Act
            out.close();
    
            // Assert
            verifyNoInteractions(handle);
        }
    
        @Nested
        @DisplayName("Constructor invalid inputs")
        class ConstructorInvalidInputs {
            @Test
            @DisplayName("Null handle triggers NullPointerException")
            void ctor_nullHandle_throwsNPE() {
                // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

       * (NCR). Any non-ASCII characters appearing in the input will be preserved in the output.
       * Specifically "\r" (carriage return) is preserved in the output, which may result in it being
       * silently converted to "\n" when the XML is parsed.
       *
       * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode
       * validation on its input.
       */
      public static Escaper xmlContentEscaper() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, String> table = HashBasedTable.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
Back to top