- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 644 for aurais (0.06 sec)
-
src/test/java/jcifs/smb1/util/Base64Test.java
* payload sizes, padding rules, and error conditions such as null and empty * input. */ @ExtendWith(MockitoExtension.class) class Base64Test { /** * Data provider for various byte arrays and the expected Base64 string. */ static Stream<Arguments> encodeProvider() { return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A"
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
ByteSource source = out.asByteSource(); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.reset(); assertTrue(Arrays.equals(new byte[0], source.read())); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.close(); } private static boolean isAndroid() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); short[][] arrays = new short[arraysDim1][]; // it's shared to avoid using too much memory in tests short[] sharedArray = new short[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Shorts.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
private static final Iterable<Integer> iterable = Arrays.<Integer>asList(); private static final Iterable<Integer> iterable1 = Arrays.asList(1); private static final Iterable<Integer> iterable12 = Arrays.asList(1, 2); private static final Iterable<Integer> iterable123 = Arrays.asList(1, 2, 3); private static final Iterable<@Nullable Integer> iterableNull = Arrays.asList((Integer) null);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
ByteSource source = out.asByteSource(); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.reset(); assertTrue(Arrays.equals(new byte[0], source.read())); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.close(); } private static boolean isAndroid() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* b, c}}. * * @param arrays zero or more {@code boolean} arrays * @return a single array containing all the values from the source arrays, in order * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit * in an {@code int} */ public static boolean[] concat(boolean[]... arrays) { long length = 0; for (boolean[] array : arrays) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* b, c}}. * * @param arrays zero or more {@code boolean} arrays * @return a single array containing all the values from the source arrays, in order * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit * in an {@code int} */ public static boolean[] concat(boolean[]... arrays) { long length = 0; for (boolean[] array : arrays) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import java.security.SecureRandom; import java.util.Arrays; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); float[][] arrays = new float[arraysDim1][]; // it's shared to avoid using too much memory in tests float[] sharedArray = new float[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Floats.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0)