- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 886 for inputs (0.05 sec)
-
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} private static void testSortDescending(byte[] input, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length); SignedBytes.sortDescending(input); assertThat(input).isEqualTo(expectedOutput); } private static void testSortDescending( byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
private static final class ByteArrayDataInputStream implements ByteArrayDataInput { final DataInput input; ByteArrayDataInputStream(ByteArrayInputStream byteArrayInputStream) { this.input = new DataInputStream(byteArrayInputStream); } @Override public void readFully(byte[] b) { try { input.readFully(b); } catch (IOException e) { throw new IllegalStateException(e); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
@Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X'); private static final Splitter STRING_SPLITTER = Splitter.on("X"); @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { input = Strings.repeat(text, length); } @Benchmark int charSplitter(int reps) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
utils/utils_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt
* Each line of the `urltestdata.txt` file specifies a test. Lines look like this: * * ``` * http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/ * ``` */ class WebPlatformUrlTestData { var input: String? = null var base: String? = null var scheme = "" var username = "" var password: String? = null var host = "" var port = "" var path = "" var query = "" var fragment = ""
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
dummy += ORDERING.immutableSortedCopy(input).get(0); } } return dummy; } @Benchmark int sortedSet(int reps) { int dummy = 0; if (mutable) { for (int i = 0; i < reps; i++) { dummy += new TreeSet<Integer>(input).first(); } } else { for (int i = 0; i < reps; i++) { dummy += ImmutableSortedSet.copyOf(input).first(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt
internal fun Buffer.writeCanonicalized( input: String, pos: Int, limit: Int, encodeSet: String, alreadyEncoded: Boolean, strict: Boolean, plusIsSpace: Boolean, unicodeAllowed: Boolean, charset: Charset?, ) { var encodedCharBuffer: Buffer? = null // Lazily allocated. var codePoint: Int var i = pos while (i < limit) { codePoint = input.codePointAt(i) if (alreadyEncoded && (
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
throw new IORuntimeException(e); } } /** * Gets a byte array from an {@link InputStream}. * <p> * The input stream is not closed. * </p> * * @param is the input stream (must not be {@literal null}) * @return the byte array */ public static final byte[] getBytes(final InputStream is) { assertArgumentNotNull("is", is);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
* and object data from the byte array input stream. * </p> * * @param bytes the byte array to deserialize * @return the deserialized object */ protected Object deserializeWithKryo(final byte[] bytes) { final Kryo kryo = kryoThreadLocal.get(); try (final Input input = new Input(new ByteArrayInputStream(bytes))) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (0)