- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 372 for asneeded (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
byte[] buffer = new byte[testString.length() * 2 + 2 + 1]; // +1 for alignment int len = smb.writeString(testString, buffer, 1); // When dstIndex=1 and headerStart=1, (1-1)%2=0, no alignment padding needed // Length is string bytes (15*2) + 2 null terminators = 32 assertEquals(testString.length() * 2 + 2, len); String readString = smb.readString(buffer, 1); assertEquals(testString, readString);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
internal/s3select/json/preader.go
// Blocks will read this much and find the first following newline. // 128KB appears to be a very reasonable default. const jsonSplitSize = 128 << 10 // startReaders will read the header if needed and spin up a parser // and a number of workers based on GOMAXPROCS. // If an error is returned no goroutines have been started and r.err will have been set. func (r *PReader) startReaders() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
if (length == 0) { return of(); } return new RegularImmutableList<E>(elements, length); } ImmutableList() {} // This declaration is needed to make List.iterator() and // ImmutableCollection.iterator() consistent. @Override public UnmodifiableIterator<E> iterator() { return listIterator(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeTest.java
private SmbTree smbTree; @Mock private SmbTree mockWrappedTree; /** * Setup method executed before each test. */ @BeforeEach void setUp() { // Common setup if needed } /** * Test for unwrap() method with matching type. * Verifies that unwrap returns the correct instance when the type matches. */ @Test void testUnwrap_withMatchingType() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
} return url.toString(); } /** * Builds a URL from protocol, hostname string, port, and path. * Properly handles IPv6 addresses by wrapping them in brackets if needed. * * @param protocol the protocol (e.g., "http", "https") * @param host the hostname or IP address string * @param port the port number * @param path the path (should start with "/" or be empty)Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
this.lifecycleDebugLogger = lifecycleDebugLogger; this.lifeCycleExecutionPlanCalculator = lifeCycleExecutionPlanCalculator; this.eventCatapult = eventCatapult; } /** * Ctor needed for UT. */ BuilderCommon( LifecycleDebugLogger lifecycleDebugLogger, LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator, ExecutionEventCatapult eventCatapult,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
@Test @DisplayName("Should handle response at end of buffer") void testResponseAtEndOfBuffer() throws SMBProtocolDecodingException { byte[] buffer = new byte[20]; // Exact size needed SMBUtil.writeInt2(17, buffer, 0); SMBUtil.writeInt2(0, buffer, 2); SMBUtil.writeInt4(999, buffer, 4); SMBUtil.writeInt4(111, buffer, 8);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
when(mockCtx.supportsIntegrity()).thenReturn(true); when(mockCtx.calculateMIC(any(byte[].class))).thenReturn(new byte[] { 42 }); // verifyMIC returns void; no stubbing needed when(mockCtx.isMICAvailable()).thenReturn(true); // Act useContext(mockCtx); // Assert: verify key interactions and ordering where meaningful
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
/** * Unit test for {@link Joiner}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class JoinerTest extends TestCase { private static final Joiner J = Joiner.on("-"); // <Integer> needed to prevent warning :( private static final Iterable<Integer> iterable = Arrays.<Integer>asList(); private static final Iterable<Integer> iterable1 = Arrays.asList(1);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
tests/scanner_valuer_test.go
*data = []byte(s[3:]) return nil } return errors.New("Bytes expected") } func (data EncryptedData) Value() (driver.Value, error) { if len(data) > 0 && data[0] == 'x' { // needed to test failures return nil, errors.New("Should not start with 'x'") } // prepend asterisks return append([]byte("***"), data...), nil } type Num int64
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0)