Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 860 for setMap (0.03 sec)

  1. src/test/java/jcifs/smb/DfsImplTest.java

        private DfsImpl dfsImpl;
        private CIFSContext mockContext;
        private Configuration mockConfig;
        private Credentials mockCredentials;
        private SmbTransportPool mockTransportPool;
    
        @BeforeEach
        void setUp() throws IOException {
            // Mock the CIFSContext and its dependencies
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
            mockCredentials = mock(Credentials.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                  if (throwException) {
                    throw new IllegalStateException("Fail");
                  }
                  return 25;
                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = newCachedThreadPool();
    
        task.addListener(
            new Runnable() {
              @Override
              public void run() {
                listenerLatch.countDown();
              }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class LittleEndianDataInputStreamTest extends TestCase {
    
      private byte[] data;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        DataOutputStream out = new DataOutputStream(baos);
    
        initializeData(out);
    
        data = baos.toByteArray();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

        private String baseUrl;
        private String publicUrl;
        private String emptyUrl;
        private String deepUrl;
        private String specialUrl;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
    
            Path tempDir = Files.createTempDirectory("smb1data");
            Path publicDir = tempDir.resolve("public");
            Files.createDirectory(publicDir);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

      private Segment<Object, Object> segment;
      private ReferenceEntry<Object, Object> head;
      private @Nullable ReferenceEntry<Object, Object> chain;
    
      @SuppressWarnings("GuardedBy")
      @BeforeExperiment
      void setUp() {
        LocalCache<Object, Object> cache =
            new LocalCache<>(CacheBuilder.newBuilder().concurrencyLevel(1), null);
        segment = cache.segments[0];
        chain = null;
        for (int i = 0; i < length; i++) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

        private final int attributes = 1;
        private final long createTime = System.currentTimeMillis();
        private final long lastWriteTime = System.currentTimeMillis();
    
        @BeforeEach
        void setUp() {
            trans2SetFileInformation = new Trans2SetFileInformation(fid, attributes, createTime, lastWriteTime);
        }
    
        @Test
        void testConstructor() {
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testMap() throws IOException {
        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
        MappedByteBuffer actual = Files.map(file);
    
        // Verify
        ByteBuffer expected = ByteBuffer.wrap(bytes);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

        private static final Logger logger = LogManager.getLogger(HtmlXpathExtractorTest.class);
    
        public HtmlXpathExtractor htmlXpathExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("htmlXpathExtractor", HtmlXpathExtractor.class);
            htmlXpathExtractor = container.getComponent("htmlXpathExtractor");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top