Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,615 for 10 (0.01 sec)

  1. cmd/encryption-v1_test.go

    			}
    			if skip != 0 || sn != 0 || ps != 0 || o != 0 || l != getEncSize(test.decSz) {
    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		if test.decSz >= 10 {
    			// first 10 bytes
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(&HTTPRangeSpec{false, 0, 9})
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    			}
    			rLen := pkgSz + 32
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

         * Test concurrent rule additions
         */
        public void test_concurrentAddRule() throws Exception {
            final ThreadSafeRuleManager threadSafeManager = new ThreadSafeRuleManager();
            final int threadCount = 10;
            final int rulesPerThread = 100;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(threadCount);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Create test JAR with valid XML
            final File jarFile = new File(tempDir, "test-datastore.jar");
            createTestJarWithXml(jarFile,
                    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<components>\n"
                            + "  <component class=\"org.codelibs.fess.ds.impl.CsvDataStore\"/>\n"
                            + "  <component class=\"org.codelibs.fess.ds.impl.DatabaseDataStore\"/>\n"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode with non-zero buffer index")
        void testDecodeWithNonZeroBufferIndex() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            int offset = 10;
            byte[] buffer = new byte[34]; // 10 offset + 16 header + 8 data
            int bufferIndex = offset;
    
            // Set up test values
            int namedPipeState = 0x02;
            int readDataAvailable = 256;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/util/SMBUtilTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.SmbConstants;
    
    /**
     * Test class for SMBUtil
     */
    class SMBUtilTest {
    
        @Test
        void testWriteInt2() {
            byte[] dst = new byte[10];
    
            // Test with simple value
            SMBUtil.writeInt2(0x1234L, dst, 0);
            assertEquals((byte) 0x34, dst[0]);
            assertEquals((byte) 0x12, dst[1]);
    
            // Test with max value for 2 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SimpleCircuitBreaker.java

        }
    
        /**
         * Calculate success rate
         *
         * @return success rate (0.0 to 1.0)
         */
        private double getSuccessRate() {
            long total = totalCalls.get();
            if (total == 0) {
                return 1.0;
            }
            return (double) totalSuccesses.get() / total;
        }
    
        /**
         * Check if circuit breaker allows requests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. cmd/apierrorcode_string.go

    	_ = x[ErrEntityTooLarge-4]
    	_ = x[ErrPolicyTooLarge-5]
    	_ = x[ErrIncompleteBody-6]
    	_ = x[ErrInternalError-7]
    	_ = x[ErrInvalidAccessKeyID-8]
    	_ = x[ErrAccessKeyDisabled-9]
    	_ = x[ErrInvalidArgument-10]
    	_ = x[ErrInvalidBucketName-11]
    	_ = x[ErrInvalidDigest-12]
    	_ = x[ErrInvalidRange-13]
    	_ = x[ErrInvalidRangePartNumber-14]
    	_ = x[ErrInvalidCopyPartRange-15]
    	_ = x[ErrInvalidCopyPartRangeSource-16]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
                .addValue(3.14d)
                .add(LONG_NAME, false)
                .add(LONG_NAME, LONG_NAME);
          }
        },
        CONDITIONAL {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

      private final double hitRate;
      private final int size;
    
      private final Set<Element> valuesInSet;
      private final Element[] queries;
    
      CollectionBenchmarkSampleData(int size) {
        this(true, new SpecialRandom(), 1.0, size);
      }
    
      CollectionBenchmarkSampleData(
          boolean isUserTypeFast, SpecialRandom random, double hitRate, int size) {
        this.isUserTypeFast = isUserTypeFast;
        this.random = checkNotNull(random);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        ByteSource joined = ByteSource.concat(source, source);
        assertEquals(20, joined.size());
        InputStream in = joined.openStream();
        assertFalse(in.markSupported());
        assertEquals(10, in.available());
        int total = 0;
        while (in.read() != -1) {
          total++;
        }
        assertEquals(0, in.available());
        assertEquals(20, total);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top