Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for padInput (0.05 sec)

  1. src/archive/tar/reader_test.go

    		wantErr: io.ErrUnexpectedEOF,
    	}, {
    		inputData: padInput("0\n"),
    		inputHdrs: map[string]string{paxGNUSparseMajor: "1", paxGNUSparseMinor: "0"},
    		wantMap:   sparseDatas{},
    	}, {
    		inputData: padInput("0\n")[:blockSize-1] + "#",
    		inputHdrs: map[string]string{paxGNUSparseMajor: "1", paxGNUSparseMinor: "0"},
    		wantMap:   sparseDatas{},
    	}, {
    		inputData: padInput("0"),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        for (String badInput : BAD_TRY_PARSE_INPUTS) {
          assertThat(badInput)
              .doesNotMatch(
                  Pattern.compile(
                      Doubles.FLOATING_POINT_PATTERN.pattern(),
                      Doubles.FLOATING_POINT_PATTERN.flags()));
          assertThat(Doubles.tryParse(badInput)).isEqualTo(referenceTryParse(badInput));
          assertThat(Doubles.tryParse(badInput)).isNull();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        assertEquals(RESULT_DATA, resultFuture.get());
      }
    
      public void testFutureGetThrowsRuntimeException() throws Exception {
        BadFuture badInput = new BadFuture(immediateFuture(20));
        ListenableFuture<String> chain = buildChainingFuture(badInput);
        ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get());
        assertSame(RuntimeException.class, e.getCause().getClass());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        assertEquals(RESULT_DATA, resultFuture.get());
      }
    
      public void testFutureGetThrowsRuntimeException() throws Exception {
        BadFuture badInput = new BadFuture(immediateFuture(20));
        ListenableFuture<String> chain = buildChainingFuture(badInput);
        ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get());
        assertSame(RuntimeException.class, e.getCause().getClass());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

        for (String badInput : BAD_TRY_PARSE_INPUTS) {
          assertThat(badInput)
              .doesNotMatch(
                  Pattern.compile(
                      Doubles.FLOATING_POINT_PATTERN.pattern(),
                      Doubles.FLOATING_POINT_PATTERN.flags()));
          assertThat(Doubles.tryParse(badInput)).isEqualTo(referenceTryParse(badInput));
          assertThat(Doubles.tryParse(badInput)).isNull();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
          assertThat(Floats.tryParse(badInput)).isEqualTo(referenceTryParse(badInput));
          assertThat(Floats.tryParse(badInput)).isNull();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/FloatsTest.java

        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
          assertThat(Floats.tryParse(badInput)).isEqualTo(referenceTryParse(badInput));
          assertThat(Floats.tryParse(badInput)).isNull();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/BaseEncoding.java

       *     encoding.
       */
      public final byte[] decode(CharSequence chars) {
        try {
          return decodeChecked(chars);
        } catch (DecodingException badInput) {
          throw new IllegalArgumentException(badInput);
        }
      }
    
      /**
       * Decodes the specified character sequence, and returns the resulting {@code byte[]}. This is the
       * inverse operation to {@link #encode(byte[])}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top