- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 1,259 for varray1 (0.05 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java
*/ package org.apache.maven.artifact.resolver.filter; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; /** */ class FilterHashEqualsTest { @Test void testIncludesExcludesArtifactFilter() { List<String> patterns = Arrays.asList("c", "d", "e");Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
/** * Tests the constructor with a valid byte array. */ @Test void testConstructorWithValidData() { // A byte array with a length less than 32 should be considered valid. byte[] validData = new byte[31]; assertDoesNotThrow(() -> new PacCredentialType(validData)); } /** * Tests the constructor with a null byte array, which should throw an exception. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
} else if (logger.isDebugEnabled()) { logger.debug("Skip Child: {}", u); } } /** * Checks if the byte array contains UTF-8 BOM (Byte Order Mark). * * @param b the byte array to check * @return true if the bytes represent UTF-8 BOM, false otherwise */ private boolean isUtf8BomBytes(final byte[] b) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
String value3 = "c"; settings.array().add(key, value1); settings.array().add(key, value2); settings.array().add(key, value3); assertEquals(3, settings.array().get(key).length); assertEquals(value1, settings.array().get(key)[0]); assertEquals(value2, settings.array().get(key)[1]); assertEquals(value3, settings.array().get(key)[2]); } @TestRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 3.7K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.util; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.codelibs.fess.opensearch.user.bsentity.BsUser; import org.codelibs.fess.unit.UnitFessTestCase;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayIterator.java
/** * Adaptor that makes an array into an {@link Iterator}. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.collection.ArrayIterator.*; * * String[] array = ...; * for (String element : iterable(array)) { * ... * } * </pre> * * @author shot * @param <T> the type of array elements */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K 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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K 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) -
src/main/java/jcifs/smb1/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
*/ private SMBUtil() { } /** * Writes a 16-bit integer value to a byte array in little-endian format * @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */ public static void writeInt2(final long val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0)