Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,111 for setOut (0.05 sec)

  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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  2. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    
    abstract class BaseOkHttpClientUnitTest {
      private lateinit var client: OkHttpClient
    
      @Before
      fun setUp() {
        client =
          OkHttpClient
            .Builder()
            .cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000))
            .build()
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. cmd/erasure-metadata_test.go

    		expectedIndex int
    	}{
    		{1, 0},
    		{2, 1},
    		{4, 2},
    		{5, 3},
    		{7, 4},
    		// Insert part.
    		{3, 2},
    		// Replace existing part.
    		{4, 3},
    		// Missing part.
    		{6, -1},
    	}
    
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    	// Test them.
    	for _, testCase := range testCases {
    		if testCase.expectedIndex > -1 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final double[] doubles = new double[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positiveDoubles[i] = randomPositiveDouble();
          doubles[i] = randomDouble(Long.SIZE);
          factorials[i] = RANDOM_SOURCE.nextInt(100);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author manhole
     */
    public class SQLRuntimeExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

    /**
     * @author koichik
     *
     */
    public class DisposableUtilTest {
    
        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

    import jcifs.smb1.util.Hexdump;
    
    public class SmbComDeleteTest {
    
        private static final String TEST_FILE_NAME = "testFile.txt";
        private SmbComDelete smbComDelete;
    
        @BeforeEach
        public void setUp() {
            smbComDelete = new SmbComDelete(TEST_FILE_NAME);
        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class NdrLongTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeValueCorrectly() {
            // Test case 1: Positive value
            int positiveValue = 12345;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

    public class AuthenticationManagerTest extends UnitFessTestCase {
    
        private AuthenticationManager authenticationManager;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            authenticationManager = new AuthenticationManager();
        }
    
        // Test default constructor
        public void test_constructor() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

    import org.opensearch.search.aggregations.BucketOrder;
    
    public class FacetInfoTest extends UnitFessTestCase {
    
        private FacetInfo facetInfo;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            facetInfo = new FacetInfo();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Test default constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top