Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,246 for setMap (0.05 seconds)

  1. cmd/endpoint.go

    		return nil, setupType, err
    	}
    
    	_, serverAddrPort := mustSplitHostPort(serverAddr)
    
    	poolEndpoints := make(PoolEndpointList, len(poolsLayout))
    
    	// For single arg, return single drive EC setup.
    	if isSingleDriveLayout(poolsLayout...) {
    		endpoint, err := NewEndpoint(poolsLayout[0].layout[0][0])
    		if err != nil {
    			return nil, setupType, err
    		}
    		if err := endpoint.UpdateIsLocal(); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NameServiceClient mockNameServiceClient;
    
        @Mock
        private NetbiosAddress mockLocalHost;
    
        @BeforeEach
        void setUp() {
            // Setup mock context with lenient stubbing to avoid UnnecessaryStubbingException
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

                this.throwOnEncode = throwOnEncode;
            }
    
            public void setThrowOnDecode(boolean throwOnDecode) {
                this.throwOnDecode = throwOnDecode;
            }
        }
    
        @BeforeEach
        void setUp() {
            ndrObject = new ConcreteNdrObject();
        }
    
        /**
         * Test case for the encode method.
         * Verifies that the encode method of a concrete implementation is called
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

      LinkedHashMultiset<Object> linkedHashMultiset;
      HashMultiset<Object> hashMultiset;
    
      // TreeMultiset requires a Comparable element.
      TreeMultiset<Integer> treeMultiset;
    
      @BeforeExperiment
      void setUp() {
        hashMultiset = HashMultiset.create(size);
        linkedHashMultiset = LinkedHashMultiset.create(size);
        treeMultiset = TreeMultiset.create();
    
        Random random = new Random();
    
        int sizeRemaining = size;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

      private static final double[] positiveDoubles = new double[ARRAY_SIZE];
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          doubleInIntRange[i] = randomDouble(Integer.SIZE - 2);
          doubleInLongRange[i] = randomDouble(Long.SIZE - 2);
          positiveDoubles[i] = randomPositiveDouble();
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

      @Param({"0", "1", "5", "10"})
      int numListeners;
    
      @Param({"0", "1", "5", "10"})
      int numThreads;
    
      private final Set<Thread> blockedThreads = new HashSet<>();
    
      @BeforeExperiment
      void setUp() throws Exception {
        if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) {
          throw new SkipThisScenarioException();
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

        private CrawlerClientFactory clientFactory;
        private UrlFilter urlFilter;
        private RuleManager ruleManager;
    
        @Override
        @SuppressWarnings("unchecked")
        protected void setUp() throws Exception {
            super.setUp();
    
            crawlerThread = new CrawlerThread();
            crawlerContext = new CrawlerContext();
            crawlerContext.sessionId = "test-session";
            crawlerContext.numOfThread = 1;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

        }
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(
                MavenSession session, MavenProject project, List<Task> tasks, boolean setup)
                throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException,
                        PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

    /**
     * Tests for the {@link Trans2SetFileInformationResponse} class.
     */
    class Trans2SetFileInformationResponseTest {
    
        private Trans2SetFileInformationResponse response;
    
        @BeforeEach
        void setUp() {
            // Initialize a new response object before each test
            response = new Trans2SetFileInformationResponse();
        }
    
        /**
         * Test for the constructor of {@link Trans2SetFileInformationResponse}.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Unit tests for the Help goal.
     */
    class HelpTest {
    
        private Help help;
    
        @BeforeEach
        void setUp() {
            help = new Help();
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
        @Test
        void testHelpExecuteReturnsZero() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top