- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 272 for unneeded (3.55 sec)
-
guava/src/com/google/common/collect/DiscreteDomain.java
*/ public abstract @Nullable C previous(C value); /** * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}. * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * Base class for map testers. * * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned * from AbstractCollectionTester.) * * @param <K> the key type of the map to be tested. * @param <V> the value type of the map to be tested. * @author George van den Driessche
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
} } @Test @DisplayName("Test decode with minimum buffer size") void testDecodeWithMinimumBuffer() throws SMBProtocolDecodingException { // Create buffer with exact size needed byte[] buffer = new byte[8]; long value = 42L; SMBUtil.writeInt8(value, buffer, 0); // Decode with minimum length int bytesRead = fileInfo.decode(buffer, 0, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertArrayEquals(newFileId, copiedFileId); } @Test @DisplayName("Test edge case with minimum buffer size") void testMinimumBufferSize() { byte[] buffer = new byte[24]; // Exact size needed int written = request.writeBytesWireFormat(buffer, 0); assertEquals(24, written); assertEquals(24, SMBUtil.readInt2(buffer, 0)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
@Mock private sid_t mockSidT; private MsrpcLookupSids lookupSids; private jcifs.SID[] testSids; @BeforeEach void setUp() { // Setup is minimal - mocks are configured per test as needed } @Test void constructor_shouldInitializeWithValidParameters() { // Arrange jcifs.SID mockSid1 = mock(jcifs.SID.class); jcifs.SID mockSid2 = mock(jcifs.SID.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java
* from a Project Object Model (POM).</p> * * <p><dfn>Project Object Model</dfn> or <dfn>POM</dfn> refers to the information describing * all the information needed to build or consume a project. Those are usually loaded from * a file named {@code pom.xml} and loaded into a {@link org.apache.maven.api.model.Model Model} * instances.</p> *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
} if (route.address.sslSocketFactory != null) { // Assume the server won't send a TLS ServerHello until we send a TLS ClientHello. If // that happens, then we will have buffered bytes that are needed by the SSLSocket! // This check is imperfect: it doesn't tell us whether a handshake will succeed, just // that it will almost certainly fail because the proxy has sent unexpected data.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
void testWriteSetupWireFormatBufferBoundary() { notifyChange = new NtTransNotifyChange(mockConfig, 0xFFFF, 0xFFFFFFFF, true); byte[] dst = new byte[8]; // Exact size needed int bytesWritten = notifyChange.writeSetupWireFormat(dst, 0); assertEquals(8, bytesWritten); assertEquals(0xFFFFFFFF, SMBUtil.readInt4(dst, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
@Test @DisplayName("Test readBytesWireFormat with minimum buffer size") void testReadBytesWireFormatMinimumBufferSize() throws SMBProtocolDecodingException { byte[] buffer = new byte[2]; // Minimum size needed for structure size int bufferIndex = 0; SMBUtil.writeInt2(2, buffer, bufferIndex); int result = response.readBytesWireFormat(buffer, bufferIndex); assertEquals(2, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)