- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 1,274 for arrayOf (0.05 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(cmd, "fid", 0x1234); setField(cmd, "typeOfLock", (byte) 0x05); setField(cmd, "newOpLockLevel", (byte) 0x01); setField(cmd, "timeout", 3000L); // arrays of one lock and one unlock range LockingAndXRange lock = new LockingAndXRange(false); lock.encode(new byte[20], 0); // initialise fields by encoding to set pid etc (though not needed)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
/** * Get size of this structure * * @return size in bytes (16) */ public static int size() { return 16; // 8 + 4 + 4 } /** * Encode this structure to byte array * * @param dst destination buffer * @param dstIndex starting index * @return number of bytes written */ public int encode(byte[] dst, int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
import com.google.common.hash.HashTestUtils.RandomHasherAction; import java.io.ByteArrayOutputStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for AbstractStreamingHasher. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
* under the License. */ package org.apache.maven.repository; import javax.inject.Inject; import java.io.File; import java.nio.file.Path; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import org.apache.maven.SimpleLookup; import org.apache.maven.api.ProducedArtifact;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.entity; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.FacetResponse;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
unicodeString.check("WRONGLENGTH"); }); } @Test @DisplayName("Test empty arrays using mock") void testEmptyOptionalFields() throws Exception { PacLogonInfo logonInfo = mock(PacLogonInfo.class); // Setup to return empty arrays when(logonInfo.getGroupSids()).thenReturn(new SID[0]); when(logonInfo.getExtraSids()).thenReturn(new SID[0]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
*/ /** * Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive. * * @param index a user-supplied index identifying an element of an array, list or string * @param size the size of that array, list or string * @return the value of {@code index}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 22:11:00 UTC 2025 - 53K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
@SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere. V value = (V) elements[i]; array[i] = mapEntry(k, value); } return multimapGenerator.create((Object[]) array).get(k); } } static class MultimapAsMapGetGenerator<K, V, M extends Multimap<K, V>> extends MultimapGetGenerator<K, V, M> { public MultimapAsMapGetGenerator(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrException.java
* Error message for null reference pointers. */ public static final String NO_NULL_REF = "ref pointer cannot be null"; /** * Error message for invalid array conformance. */ public static final String INVALID_CONFORMANCE = "invalid array conformance"; /** * Constructs an NdrException with the specified error message. * * @param msg the error message */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (1) -
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
public void test_ofValues() { String[] values = { "value1", "value2" }; StreamUtil.stream(values[0], values[1]).of(s -> { Object[] array = s.toArray(); for (int i = 0; i < 2; i++) { assertEquals(values[i], array[i]); } }); } public void test_ofNull() { assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0)