Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 762 for setOp (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T> SortedMultiset<T> cast(Multiset<T> iterable) {
        return (SortedMultiset<T>) iterable;
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        sortedMultiset = cast(getMultiset());
        entries =
            copyToList(
                getSubjectGenerator()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

      int size;
    
      @Param({"2", "20"})
      int nonAlphaRatio; // one non-alpha char per this many chars
    
      @Param boolean noWorkToDo;
    
      Random random;
      String testString;
    
      @BeforeExperiment
      void setUp() {
        random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs
    
        int nonAlpha = size / nonAlphaRatio;
        int alpha = size - nonAlpha;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

      @Param Topology topology;
    
      @Param({"1", "100", "10000", "1000000"})
      int size;
    
      @Param Traversal traversal;
    
      @Param({"1234"})
      SpecialRandom rng;
    
      @BeforeExperiment
      void setUp() {
        this.view = traversal.view(topology.createTree(size, rng).get(), VIEWER);
      }
    
      @Benchmark
      int traversal(int reps) {
        int tmp = 0;
    
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 26 19:18:53 UTC 2019
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

    public class SystemHelperTest extends UnitFessTestCase {
    
        public SystemHelper systemHelper;
    
        private final Map<String, String> envMap = new HashMap<>();
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            final File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "fess.version=98.76.5".getBytes());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                }
            }
            connectionState = 1; // trying ...
    
            try {
                transport.connect();
    
                /*
                 * Session Setup And X Request / Response
                 */
        
                if( transport.log.level >= 4 )
                    transport.log.println( "sessionSetup: accountName=" + auth.username + ",primaryDomain=" + auth.domain );
        
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. cmd/object-api-putobject_test.go

    )
    
    func md5Header(data []byte) map[string]string {
    	return map[string]string{"etag": getMD5Hash(data)}
    }
    
    // Wrapper for calling PutObject tests for both Erasure multiple disks and single node setup.
    func TestObjectAPIPutObjectSingle(t *testing.T) {
    	ExecExtendedObjectLayerTest(t, testObjectAPIPutObject)
    }
    
    // Tests validate correctness of PutObject.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

            .addTrustedCertificate(heldCertificate.certificate)
            .build()
        }
      private var acceptedHostName: String? = null
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
    
        // Test designed for Conscrypt and JSSE
        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest
      @MethodSource("connectionTypes")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

      private lateinit var certificate: HeldCertificate
      private val dns = FakeDns()
      private lateinit var url: HttpUrl
      private lateinit var serverIps: List<InetAddress>
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        platform.assumeHttp2Support()
        platform.assumeNotBouncyCastle()
        rootCa =
          HeldCertificate.Builder()
            .serialNumber(1L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    // corresponding list of endpoints chunked evenly in accordance with a
    // specific set size.
    // For example: {1...64} is divided into 4 sets each of size 16.
    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    	if !ellipses.HasEllipses(args...) {
    		var setIndexes [][]uint64
    		// Check if we have more one args.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top