Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,142 for Setup (0.02 sec)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * @throws IllegalArgumentException if invalid surrogate characters are encountered
       */
      protected final String escapeSlow(String s, int index) {
        int end = s.length();
    
        // Get a destination buffer and setup some loop variables.
        char[] dest = Platform.charBufferFromThreadLocal();
        int destIndex = 0;
        int unescapedChunkStart = 0;
    
        while (index < end) {
          int cp = codePointAt(s, index, end);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

     */
    @DisplayName("Smb3KeyDerivation Tests")
    class Smb3KeyDerivationTest {
    
        private byte[] sessionKey;
        private byte[] preauthIntegrity;
    
        @BeforeEach
        void setUp() {
            // Initialize test keys
            sessionKey = new byte[16]; // 128-bit session key
            preauthIntegrity = new byte[64]; // Preauth integrity hash
            new SecureRandom().nextBytes(sessionKey);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/DelegatingConfigurationTest.java

    class DelegatingConfigurationTest extends BaseTest {
    
        @Mock
        private Configuration mockDelegate;
    
        private DelegatingConfiguration delegatingConfig;
    
        @BeforeEach
        void setUp() {
            delegatingConfig = new DelegatingConfiguration(mockDelegate);
        }
    
        @Test
        @DisplayName("Constructor should require non-null delegate")
        void testConstructorWithNullDelegate() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

     *
     * @author Jon Donovan
     */
    @GwtCompatible
    @NullUnmarked
    @RunWith(JUnit4.class)
    public class CacheBuilderGwtTest {
    
      private FakeTicker fakeTicker;
    
      @Before
      public void setUp() {
        fakeTicker = new FakeTicker();
      }
    
      @Test
      public void loader() throws ExecutionException {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        Callable<Integer> loader =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

      private static final String KEY = "puppies";
    
      ConcurrentMap<String, AtomicInteger> backingMap;
      ConcurrentHashMultiset<String> multiset;
    
      @SuppressWarnings("unchecked")
      @Override
      protected void setUp() {
        backingMap = mock(ConcurrentMap.class);
        when(backingMap.isEmpty()).thenReturn(true);
    
        multiset = ConcurrentHashMultiset.create(backingMap);
      }
    
      public void testCount_elementPresent() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        private Configuration mockConfig;
        private CIFSContext mockContext;
        private byte[] testFileId;
        private String testFileName;
        private Smb2CloseRequest request;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            // Create a test file ID (16 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    
    @Deprecated
    class MavenCliTest {
        private MavenCli cli;
    
        private String origBasedir;
    
        @BeforeEach
        void setUp() {
            cli = new MavenCli();
            origBasedir = System.getProperty(MavenCli.MULTIMODULE_PROJECT_DIRECTORY);
        }
    
        @AfterEach
        void tearDown() throws Exception {
            if (origBasedir != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL;
        private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            @Override
            protected URLConnection openConnection(URL u) {
                return null; // not used
            }
        };
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            when(ctx.getCredentials()).thenReturn(creds);
            when(ctx.getNameServiceClient()).thenReturn(nsc);
        }
    
        private static URL smbUrl(String spec) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

      private val sockets = inMemorySocketPair(8192L)
      private val client = TestStreams(taskFaker, sockets[0], client = true)
      private val server = TestStreams(taskFaker, sockets[1], client = false)
    
      @BeforeEach
      fun setUp() {
        client.initWebSocket(random)
        server.initWebSocket(random)
      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        client.listener.assertExhausted()
        server.listener.assertExhausted()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top