- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 896 for Array (0.01 sec)
-
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
} // Test annotation array immutability public void test_annotationValueImmutability() { Secured secured = MultipleRolesClass.class.getAnnotation(Secured.class); String[] roles1 = secured.value(); String[] roles2 = secured.value(); // Different array instances should be returned assertNotSame(roles1, roles2);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
prevArray = builder.contents; } } } public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; Set<String[]> set = ImmutableSet.<String[]>of(array); assertEquals(singleton(array), set); } @GwtIncompatible // ImmutableSet.chooseTableSize public void testChooseTableSize() { assertEquals(8, ImmutableSet.chooseTableSize(3));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
assertThat(set).containsExactly("a", "b", "c").inOrder(); } public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; Set<String[]> set = ImmutableSet.<String[]>of(array); assertEquals(singleton(array), set); } @GwtIncompatible // ImmutableSet.chooseTableSize public void testChooseTableSize() { assertEquals(8, ImmutableSet.chooseTableSize(3));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
assertThrows(SmbException.class, () -> new SID("invalid-sid")); assertThrows(SmbException.class, () -> new SID("S-1")); } /** * Test constructor with a byte array. */ @Test void testByteArrayConstructor() { SID sid = new SID(adminSidBytes, 0); assertEquals(1, sid.revision); assertEquals(2, sid.sub_authority_count);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertNotNull(response); assertTrue(response instanceof CreateContextResponse); } @Test @DisplayName("getName() should return expected byte array") void testGetNameMethod() { byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8); CreateContextResponse response = mock(CreateContextResponse.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java
/** * Creates a new request to enumerate aliases in a domain. * * @param domainHandle the handle to the SAM domain * @param acct_flags account flags to filter the enumeration * @param sam the SAM array to store the enumeration results */ public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) { super(domainHandle, 0, acct_flags, null, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java
/** * Creates a new request to enumerate aliases in a domain. * * @param domainHandle the handle to the SAM domain * @param acct_flags account flags to filter the enumeration * @param sam the SAM array to store the enumeration results */ public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) { super(domainHandle, 0, acct_flags, null, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
public Object[] toArray() { assertTrue(Thread.holdsLock(mutex)); return delegate.toArray(); } @Override public <T> T[] toArray(T[] array) { assertTrue(Thread.holdsLock(mutex)); return delegate.toArray(array); } @Override public void addFirst(E e) { assertTrue(Thread.holdsLock(mutex)); delegate.addFirst(e); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} if (type.isArray()) { TypeToken<?> componentType = requireNonNull(type.getComponentType()); Object array = Array.newInstance(componentType.getRawType(), 1); Array.set(array, 0, generate(componentType)); return array; } Method emptyGenerate = EMPTY_GENERATORS.get(rawType); if (emptyGenerate != null) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.1K bytes - Viewed (0) -
cmd/scannermetric_string.go
// Code generated by "stringer -type=scannerMetric -trimprefix=scannerMetric data-scanner-metric.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[scannerMetricReadMetadata-0] _ = x[scannerMetricCheckMissing-1] _ = x[scannerMetricSaveUsage-2]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 25 05:15:31 UTC 2023 - 1.7K bytes - Viewed (0)