Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 1,167 for SetUp (0.03 sec)

  1. cmd/object-api-deleteobject_test.go

    package cmd
    
    import (
    	"context"
    	"crypto/md5"
    	"encoding/hex"
    	"strings"
    	"testing"
    )
    
    // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup.
    func TestDeleteObject(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObject)
    }
    
    // Unit test for DeleteObject in general.
    func testDeleteObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

            if (StringUtil.isNotBlank(labelTypePager.value)) {
                cb.query().setValue_Wildcard(wrapQuery(labelTypePager.value));
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_Name_Asc();
            // search
    
        }
    
        /**
         * Get a list of all label types.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

          };
    
      @Param private boolean useNew;
    
      @Param({"20", "50", "80"})
      private int percentMatching;
    
      private String teststring;
      private CharMatcher matcher;
    
      @BeforeExperiment
      protected void setUp() {
        BitSet bitSet = new BitSet();
        for (int i = 0; i < OLD_WHITESPACE_TABLE.length(); i++) {
          bitSet.set(OLD_WHITESPACE_TABLE.charAt(i));
        }
        bitSet.clear(0);
        bitSet.clear(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(5);
            byte[] buf = newBuffer(10);
            int written = cmd.writeSetupWireFormat(buf, 0);
            assertEquals(2, written, "setup packet should write 2 bytes");
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand");
            assertEquals((byte) 0x00, buf[1], "second byte should be zero");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
      void pollAndAdd(int reps) {
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      private ClassToInstanceMap<Number> map;
    
      @Override
      protected void setUp() throws Exception {
        map = MutableClassToInstanceMap.create();
      }
    
      public void testConstraint() {
        /*
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/https/HandlerTest.java

     * Tests HTTPS URL stream handler functionality with NTLM authentication support.
     */
    @DisplayName("SMB1 HTTPS Handler Tests")
    class HandlerTest {
    
        private Handler handler;
    
        @BeforeEach
        void setUp() {
            handler = new Handler();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with default constructor")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

                return 0;
            }
    
            @Override
            int readDataWireFormat(byte[] buffer, int bufferIndex, int len) {
                return 0;
            }
        }
    
        @BeforeEach
        void setUp() {
            response = new TestableSmbComNtTransactionResponse();
        }
    
        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsZero() {
            // Test case when bufDataStart is initially 0.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

            if (failureUrlPager.id != null) {
                cb.query().docMeta().setId_Equal(failureUrlPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_LastAccessTime_Desc();
    
            buildSearchCondition(failureUrlPager, cb);
        }
    
        /**
         * Deletes all failure URLs that match the criteria specified in the pager.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/CharEscaper.java

       * @throws NullPointerException if {@code string} is null
       */
      protected final String escapeSlow(String s, int index) {
        int slen = s.length();
    
        // Get a destination buffer and setup some loop variables.
        char[] dest = Platform.charBufferFromThreadLocal();
        int destSize = dest.length;
        int destIndex = 0;
        int lastEscape = 0;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top