- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 796 for set_op (0.05 seconds)
-
src/test/java/jcifs/internal/dtyp/ACETest.java
import jcifs.smb.SID; import jcifs.smb.SmbException; /** * Test class for ACE (Access Control Entry) */ class ACETest { private ACE ace; private byte[] testBuffer; @BeforeEach void setUp() { ace = new ACE(); } @Test @DisplayName("Test decode with allow ACE") void testDecodeAllowACE() throws Exception { // Prepare test data - Allow ACE
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
class TestImplementationTests { private TestCreateContextResponse testResponse; private byte[] testName; private byte[] testBuffer; @BeforeEach void setUp() { testName = "CREATE_CONTEXT_TEST".getBytes(StandardCharsets.UTF_8); testResponse = new TestCreateContextResponse(testName); testBuffer = new byte[256];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
@Mock SmbSessionImpl session; @Mock SmbTransportImpl transport; @Mock Configuration config; private SmbTreeHandleImpl handle; @BeforeEach void setUp() { // Tree connection is acquired in the constructor and should return itself when(treeConnection.acquire()).thenReturn(treeConnection); when(treeConnection.getSession()).thenReturn(session);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
abstract class AbstractAbstractFutureTest extends TestCase { private TestedFuture<Integer> future; private AbstractFuture<Integer> delegate; abstract AbstractFuture<Integer> newDelegate(); @Override protected void setUp() { future = TestedFuture.create(); delegate = newDelegate(); } public void testPending() { assertPending(future); } public void testSuccessful() throws Exception {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
* #startAsync} has been called but {@link #notifyStarted} has not). Subclasses can override the * method to cancel pending work and then call {@link #notifyStopped} to stop the service. * * <p>This method should return promptly; prefer to do work on a different thread where it is * convenient. It is invoked exactly once on service shutdown, even when {@link #stopAsync} isCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
internal/grid/muxclient.go
xioutil.SafeClose(respHandler) } }() var pingTimer <-chan time.Time if m.deadline == 0 || m.deadline > m.clientPingInterval { ticker := time.NewTicker(m.clientPingInterval) defer ticker.Stop() pingTimer = ticker.C atomic.StoreInt64(&m.LastPong, time.Now().UnixNano()) } defer m.parent.deleteMux(false, m.MuxID) for { select { case <-m.ctx.Done(): if debugPrint {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0) -
README.md
- **Java 21 features** - Switch expressions and pattern matching for reduced overhead ## 🧪 Building and Testing ### Development Setup ```bash # Clone the repository git clone https://github.com/codelibs/corelib.git cd corelib # Compile the project mvn clean compile # Run all tests mvn test # Run specific test class
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@Mock private SmbNegotiationRequest negotiationRequest; @Mock private CommonServerMessageBlock serverMessageBlock; @Mock private Response response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test isValid returns true for valid negotiation") void testIsValidReturnsTrue() { // ArrangeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
import org.mockito.MockitoAnnotations; /** * Test suite for DfsReferralResponseBuffer */ class DfsReferralResponseBufferTest { private DfsReferralResponseBuffer buffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); buffer = new DfsReferralResponseBuffer(); } @Nested @DisplayName("Constructor and Initial State Tests") class ConstructorTests {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
*/ public class Smb2NegotiateResponseInputValidationTest { private Configuration mockConfig; private Smb2NegotiateResponse response; @BeforeEach public void setUp() { mockConfig = Mockito.mock(Configuration.class); response = new Smb2NegotiateResponse(mockConfig); } /** * Test that malformed structure size is properly rejected. */ @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0)