- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 394 for inInts (0.07 sec)
-
src/main/java/jcifs/smb1/util/DES.java
public static void spreadIntsToBytes(final int[] inInts, final int inOff, final byte[] outBytes, final int outOff, final int intLen) { for (int i = 0; i < intLen; ++i) { outBytes[outOff + i * 4] = (byte) (inInts[inOff + i] >>> 24); outBytes[outOff + i * 4 + 1] = (byte) (inInts[inOff + i] >>> 16); outBytes[outOff + i * 4 + 2] = (byte) (inInts[inOff + i] >>> 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>. * * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible public final class Ints extends IntsMethodsForWeb { private Ints() {} /** * The number of bytes required to represent a primitive {@code int} value. * * <p>Prefer {@link Integer#BYTES} instead. */ // The constants value gets inlined here.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
assertNotNull(resp, "Instance should not be null"); } /** * All wire‑format methods should return zero regardless of inputs. */ @Nested @DisplayName("Wire format method behaviour") class WireFormatMethods { @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE }) @DisplayName("writeSetupWireFormat returns 0 for all indices")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
SmbSession result = transport.getSmbSession(ctx); assertSame(session, result); verify(transport).getSmbSession(eq(ctx)); } // Edge inputs: null context returns null session per mock setup @Test @DisplayName("getSmbSession(ctx) with null context returns null as stubbed") void getSmbSession_byContext_null() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
void lookup_returns_expected_message_for_known_codes(int code, String expectedMessage) { // Valid inputs: each known code must map to its documented message assertEquals(expectedMessage, lookupMessage(code).orElse(null)); } @ParameterizedTest @ValueSource(ints = { -1, Integer.MIN_VALUE, Integer.MAX_VALUE }) @DisplayName("Unknown codes: lookup returns empty Optional")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
package jcifs.smb1.smb1; /** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
// Arrange: choose a small set of known DOS codes List<Integer> inputs = Arrays.asList(0x00000000, 0x00050001, 0x007b0001, 0x0BADF00D); @SuppressWarnings("unchecked") BiConsumer<Integer, Integer> consumer = mock(BiConsumer.class); // Act: for each input, if a mapping exists, notify the consumer for (int dos : inputs) { int nt = findNtStatusOrMinusOne(dos); if (nt != -1) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Test when id is 0 (create mode) String[] inputs = { "x", "y" }; CharMappingItem item = new CharMappingItem(0L, inputs, "result"); assertEquals(0L, item.getId()); assertNotNull(item.getNewInputs()); assertEquals("result", item.getNewOutput()); // NewInputs should be same as inputs for id=0 assertSame(inputs, item.getNewInputs());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
// Zeroed upon release for (byte value : fromCache) { assertEquals(0, value); } } // Invalid inputs: negative sizes for constructor arguments @Nested class InvalidConstruction { @Test @DisplayName("Negative maxBuffers throws immediately in constructor") void negativeMaxBuffersThrows() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
* @param id the unique identifier for this mapping item * @param inputs array of input character sequences that will be mapped to the output * @param output the output character sequence that inputs will be mapped to */ public CharMappingItem(final long id, final String[] inputs, final String output) { this.id = id; this.inputs = inputs; this.output = output == null ? null : output.replace("\n", " ");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0)