- Sort Score
- Result 10 results
- Languages All
Results 1091 - 1100 of 4,221 for Avoid (0.02 sec)
-
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
* @param securityFlags the securityFlags to set */ public void setSecurityFlags(final byte securityFlags) { this.securityFlags = securityFlags; } /** * Set the requested oplock level for the file * @param requestedOplockLevel the requestedOplockLevel to set */ public void setRequestedOplockLevel(final byte requestedOplockLevel) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
ctx = new Kerb5Context("host.example", "cifs", null, 0, 0, null); } @AfterEach void tearDown() { if (mockedStatic != null) { mockedStatic.close(); } } private static void setPrivateField(Object target, String name, Object value) throws Exception { Field f = target.getClass().getDeclaredField(name);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
private byte[] testKey; @BeforeEach public void setUp() { keyManager = new SecureKeyManager(); testKey = new byte[16]; new SecureRandom().nextBytes(testKey); } @AfterEach public void tearDown() { if (keyManager != null) { keyManager.close(); } } @Test public void testStoreAndRetrieveKey() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
private static final byte[] TEST_DATA = "Test pipe data".getBytes(); @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructorInitialization() { // Given int offset = 0; int length = TEST_DATA.length; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
} } @BeforeEach void setUp() { smb = new TestServerMessageBlock(); } @Test void testInt2ReadWrite() { byte[] buffer = new byte[2]; ServerMessageBlock.writeInt2(0x1234, buffer, 0); assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0)); } @Test void testInt4ReadWrite() { byte[] buffer = new byte[4];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
public void testFactorialNegative() { assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.factorial(-1)); } public void testBinomialSmall() { runBinomialTest(0, 30); } @GwtIncompatible // too slow public void testBinomialLarge() { runBinomialTest(31, 100); } // Depends on the correctness of BigIntegerMath.factorial private static void runBinomialTest(int firstN, int lastN) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Nov 19 01:35:24 UTC 2025 - 27.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
@Override public void setUp() throws Exception { super.setUp(); nullKeyEntry = entry(null, v3()); nullValueEntry = entry(k3(), null); nullKeyValueEntry = entry(null, null); presentKeyNullValueEntry = entry(k0(), null); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPut_supportedPresent() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
*/ protected abstract Table<String, Integer, C> create(@Nullable Object... data); protected void assertSize(int expectedSize) { assertEquals(expectedSize, table.size()); } @Override public void setUp() throws Exception { super.setUp(); table = create(); } public void testContains() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
@Test public void inDegree_oneEdge() { addEdge(N1, N2, E12); assertThat(network.inDegree(N2)).isEqualTo(1); assertThat(network.inDegree(N1)).isEqualTo(1); } @Test public void outDegree_oneEdge() { addEdge(N1, N2, E12); assertThat(network.outDegree(N1)).isEqualTo(1); assertThat(network.outDegree(N2)).isEqualTo(1); } @Test public void edges_selfLoop() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 17:09:51 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
} @Test @DisplayName("Should handle null message") void testNullMessage() { // When/Then assertDoesNotThrow(() -> { CIFSException exception = new CIFSException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should handle null cause") void testNullCause() { // When/Then assertDoesNotThrow(() -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0)