Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 4,296 for 0$ (0.01 sec)

  1. cmd/erasure-decode_test.go

    	shouldFail, shouldFailQuorum bool
    }{
    	{dataBlocks: 2, onDisks: 4, offDisks: 0, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 0, length: oneMiByte, algorithm: BLAKE2b512, shouldFail: false, shouldFailQuorum: false},             // 0
    	{dataBlocks: 3, onDisks: 6, offDisks: 0, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 0, length: oneMiByte, algorithm: SHA256, shouldFail: false, shouldFailQuorum: false},                 // 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(new CopyOptions().converter(new NumberConverter("##0"), "aaa").convertValue(new Integer(1), "aaa", null),
                    is((Object) "1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testConvertValue_propertyConverter_asObject() throws Exception {
            assertThat(new CopyOptions().converter(new NumberConverter("##0"), BeanNames.aaa()).convertValue("1", "aaa", null),
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    		//	-a-1 == ^a
    		//
    		// If the number is negative, we use an inversion mask to invert the
    		// data bytes and treat the value as an unsigned number.
    		var inv byte // 0x00 if positive or zero, 0xff if negative
    		if b[0]&0x40 != 0 {
    			inv = 0xff
    		}
    
    		var x uint64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/CustomUrlFilterImplTest.java

            includeFilter.processUrl("https://test.com");
    
            assertEquals(2, includeFilter.cachedIncludeSet.size());
            assertEquals(0, includeFilter.cachedExcludeSet.size());
            assertEquals("https://test.com.*", includeFilter.cachedIncludeSet.toArray()[1]);
        }
    
        public void test_exclude_processUrl() {
            assertEquals(0, excludeFilter.cachedIncludeSet.size());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. internal/store/queuestore_test.go

    				t.Fatal("queue store Del failed with ", err)
    			}
    		}
    	} else {
    		t.Fatalf("List() Expected: 20, got %d", len(itemKeys))
    	}
    
    	keys := store.List()
    	if len(keys) != 0 {
    		t.Fatalf("List() Expected: 0, got %d", len(keys))
    	}
    }
    
    // TestQueueStoreLimit - tests the item limit for the store.
    func TestQueueStoreLimit(t *testing.T) {
    	defer func() {
    		if err := tearDownQueueStore(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_DeleteContextOptions(opts);
    
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const char remote_device_name[] =
          "/job:localhost/replica:0/task:1/device:CPU:0";
      const char local_device_name[] =
          "/job:localhost/replica:0/task:0/device:CPU:0";
      CheckRemoteMatMulExecutesOK(ctx, remote_device_name, local_device_name);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java

        int expectedLoads = 0;
        int expectedReloads = 0;
        for (int i = 0; i < 3; i++) {
          assertEquals(Integer.valueOf(i), cache.getUnchecked(i));
          expectedLoads++;
          assertEquals(expectedLoads, loader.getLoadCount());
          assertEquals(expectedReloads, loader.getReloadCount());
          ticker.advance(1, MILLISECONDS);
        }
    
        assertEquals(Integer.valueOf(0), cache.getUnchecked(0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @param dividend the dividend (numerator)
       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       */
      public static long divide(long dividend, long divisor) {
        if (divisor < 0) { // i.e., divisor >= 2^63:
          if (compare(dividend, divisor) < 0) {
            return 0; // dividend < divisor
          } else {
            return 1; // dividend >= divisor
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. cmd/dynamic-timeouts_test.go

    	// Race test.
    	timeout := newDynamicTimeout(time.Second, time.Millisecond)
    	var wg sync.WaitGroup
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    		wg.Add(1)
    		rng := rand.New(rand.NewSource(int64(i)))
    		go func() {
    			defer wg.Done()
    			for i := 0; i < 100; i++ {
    				for j := 0; j < 100; j++ {
    					timeout.LogSuccess(time.Duration(float64(time.Second) * rng.Float64()))
    				}
    				to := timeout.Timeout()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      TFE_ContextSetServerDef(context.get(), 0, serialized.data(),
                              serialized.size(), status.get());
      EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      const char* first_device = "/job:worker/replica:0/task:1/device:CPU:0";
      const char* second_device = "/job:worker/replica:0/task:2/device:CPU:0";
      const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0";
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 10 07:18:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top