- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,525 for varray1 (0.04 sec)
-
android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
@BeforeExperiment void setUp() throws Exception { Random r = new Random(); ba1 = new byte[length]; r.nextBytes(ba1); ba2 = Arrays.copyOf(ba1, ba1.length); // Differ at the last element ba3 = Arrays.copyOf(ba1, ba1.length); ba4 = Arrays.copyOf(ba1, ba1.length); ba3[ba1.length - 1] = (byte) 43; ba4[ba1.length - 1] = (byte) 42;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* Asserts that the argument is neither <code>null</code> nor an empty array. * * @param argName * The name of the argument that must not be {@code null} or an empty array. * @param argValue * The value of the argument. * @throws EmptyArgumentException * If the argument is <code>null</code> or an empty array. */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaperBuilder.java
import org.jspecify.annotations.Nullable; /** * Simple helper class to build a "sparse" array of objects based on the indexes that were added to * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a * CharEscaper based on the generated array. * * @author Sven Mawson * @since 15.0 */ @GwtCompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java
*/ package org.apache.maven.internal.impl; import java.io.ByteArrayInputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.Map; import org.apache.maven.api.services.ChecksumAlgorithmService; import org.apache.maven.impl.DefaultChecksumAlgorithmService;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 11:31:00 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(ArrayUtil.addAll(emptyArray, array), is(sameInstance(array))); assertThat(ArrayUtil.addAll(array, emptyArray), is(sameInstance(array))); } /** * @throws Exception */ @Test public void testAdd_int() throws Exception { final int[] array = new int[] { 1 }; final int[] newArray = ArrayUtil.add(array, 2); assertThat(newArray.length, is(2));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
} } return di - start; } /** * Decodes a UTF-8 encoded string from a byte array. * * @param src the source byte array * @param si the starting index in the source array * @param slim the limit index in the source array * @return the decoded String * @throws IOException if a decoding error occurs */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.cling.invoker; import java.nio.file.Path; import java.util.Arrays; import org.apache.commons.cli.ParseException; import org.apache.maven.api.cli.InvokerRequest; import org.apache.maven.api.cli.Options; import org.apache.maven.api.cli.ParserRequest;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
byte[] longFileId = new byte[32]; Arrays.fill(longFileId, (byte) 0xCD); request.setFileId(longFileId); Arrays.fill(buffer, (byte) 0); bytesWritten = request.writeBytesWireFormat(buffer, 0); assertEquals(49, bytesWritten); assertArrayEquals(Arrays.copyOfRange(longFileId, 0, 16), Arrays.copyOfRange(buffer, 16, 32)); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
samr.SamrSamArray array = new samr.SamrSamArray(); array.count = 0; array.entries = null; // When: Encoding array array.encode(mockNdrBuffer); // Then: Should encode null referent verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).enc_ndr_long(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0)