Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for padInput (0.04 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 Sep 09 11:13:09 UTC 2025
    - 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
Back to top