- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for padInput (0.62 seconds)
-
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"),Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
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(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
assertThat(resultFuture.get()).isEqualTo(RESULT_DATA); } public void testFutureGetThrowsRuntimeException() throws Exception { BadFuture badInput = new BadFuture(immediateFuture(20)); ListenableFuture<String> chain = buildChainingFuture(badInput); ExecutionException e = assertThrows(ExecutionException.class, chain::get); assertThat(e.getCause()).isInstanceOf(BadFutureRuntimeException.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
assertThat(resultFuture.get()).isEqualTo(RESULT_DATA); } public void testFutureGetThrowsRuntimeException() throws Exception { BadFuture badInput = new BadFuture(immediateFuture(20)); ListenableFuture<String> chain = buildChainingFuture(badInput); ExecutionException e = assertThrows(ExecutionException.class, chain::get); assertThat(e.getCause()).isInstanceOf(BadFutureRuntimeException.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
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(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/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[])}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 41.6K bytes - Click Count (0)