- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 173 for minimally (0.09 seconds)
-
src/test/java/jcifs/smb/SmbTransportImplTest.java
} @Test @DisplayName("getSmbSession creates and then reuses matching session") void getSmbSession_createAndReuse() { // Arrange: minimal credentials chain so SmbSessionImpl constructor succeeds CredentialsInternal creds = mock(CredentialsInternal.class); when(ctx.getCredentials()).thenReturn(creds);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertTrue(parsed.getContextFlag(NegTokenInit.INTEGRITY)); assertFalse(parsed.getContextFlag(NegTokenInit.CONFIDENTIALITY)); } @Test @DisplayName("Minimal token: no fields present") void testMinimalTokenRoundTrip() throws Exception { NegTokenInit init = new NegTokenInit(); // no fields byte[] bytes = init.toByteArray();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
cmd/erasure-multipart.go
if maxQuorum < quorum { maxQuorum = quorum maxETag = etag maxPartMeta = etag } } // found is a representative ObjectPartInfo which either has the maximally occurring ETag or an error. var found *ObjectPartInfo for _, pinfo := range pinfos { if pinfo == nil { continue } if maxETag != "" && pinfo.ETag == maxETag { found = pinfo
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
@Test void readWireFormat_shouldDelegateToParent() { // Arrange nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); byte[] src = new byte[200]; // Setup minimal valid header src[0] = 0x00; src[1] = 0x01; // Transaction ID src[2] = 0x00; // Flags src[3] = 0x00; // Flags src[4] = 0x00; src[5] = 0x01; // Question countCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2)); assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6)); // Empty filename should result in minimal bytes written assertTrue(written >= 12); // At least the fixed parameters } @Test void testInformationLevelConstant() { // Verify the information level is set correctly
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; import jcifs.smb.SmbException; class Smb2IoctlResponseTest { // Helper: build a minimal SMB2 header with a given status private static byte[] buildHeader(int status) { byte[] hdr = new byte[64]; // SMB2 header is 64 bytes System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
} @Test @DisplayName("Test decode returns correct bytes consumed") void testDecodeBytesConsumed() throws SMBProtocolDecodingException { // Prepare minimal buffer byte[] buffer = new byte[24]; // Test with offset 0 int bytesDecoded = response.decode(buffer, 0, 24);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java
assertEquals("https://second.com", data.getUrl()); assertEquals(2.0f, data.getWeight(), 0.001f); } public void test_minimalUsage() { // Test minimal usage (just URL) RequestData data = RequestDataBuilder.newRequestData().url("https://example.com").build(); assertNull(data.getMethod()); assertEquals("https://example.com", data.getUrl());
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
DcerpcHandle handle = mock(DcerpcHandle.class); LsaPolicyHandle policy = mock(LsaPolicyHandle.class); jcifs.SID[] sids = new jcifs.SID[] { sid("S-1-1-0") }; // Arrange a minimal response with given retval doAnswer(inv -> { jcifs.dcerpc.msrpc.MsrpcLookupSids rpc = inv.getArgument(0); rpc.retval = ret; // Provide empty arrays to satisfy code paths
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0)