Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 565 for dong (1.18 sec)

  1. tests/lru_test.go

    	lc := lru.NewLRU[string, string](0, nil, 0)
    	wg := sync.WaitGroup{}
    	wg.Add(1000)
    	for i := 0; i < 1000; i++ {
    		go func(i int) {
    			lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10))
    			wg.Done()
    		}(i)
    	}
    	wg.Wait()
    	if lc.Len() != 100 {
    		t.Fatalf("length differs from expected")
    	}
    }
    
    func TestLRUInvalidateAndEvict(t *testing.T) {
    	var evicted int
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        List<E> expected = copyToList(getSampleElements());
        expected.addAll(index, elements);
        expectContents(expected);
      }
    
      /*
       * TODO: if we're testing a list, we could check indexOf(). (Doing it in
       * AbstractListTester isn't enough because many tests that run on lists don't
       * extends AbstractListTester.) We could also iterate over all elements to
       * verify absence
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          throw new AssertionError();
        }
      }
    
      /** Implementation of {@link Futures#getChecked(Future, Class, long, TimeUnit)}. */
      @CanIgnoreReturnValue
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. docs/distributed/decom-encrypted-kes.sh

    ./mc admin decom start myminio/ http://localhost:9000/tmp/xl/{1...10}/disk{0...1}
    
    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	sleep 1s
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5s
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    sleep 30s
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (1)
  5. src/main/webapp/js/admin/adminlte.min.js

    ){n.default(k).hide(),a.removeClass(E),n.default(this).dequeue()}))):t.removeClass(L),n.default(this._element).trigger(n.default.Event("collapsed.lte.controlsidebar")),setTimeout((function(){n.default(e._element).trigger(n.default.Event("collapsed-done.lte.controlsidebar"))}),this._config.animationSpeed)},t.show=function(e){void 0===e&&(e=!1);var t=n.default("body"),a=n.default("html");e&&n.default(k).hide(),this._config.controlsidebarSlide?(a.addClass(E),n.default(this._config.target).show().de...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_3site_replication.sh

    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb sitec; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    	rm -rf /tmp/multisiteb
    	rm -rf /tmp/multisitec
    	if [ $# -ne 0 ]; then
    		exit $#
    	fi
    }
    
    catch
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         *           sed -e 's#^//*#/#' )
         *       B=$( cd /b/c && cd ${X[1]} && pwd )
         *       cmp -s <(echo $A) <(echo $B) || echo "$X[0] -> $A vs. $B"
         *     done | tee testoutput
         * - Move that testcases file to the appropriate name under testdata.
         *
         * The last test will take hours, and if it passes, the output will be empty.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

    And then, that system (in this case **FastAPI**) will take care of doing whatever is needed to provide your code with those needed dependencies ("inject" the dependencies).
    
    This is very useful when you need to:
    
    * Have shared logic (the same code logic again and again).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      }
    
      /*
       * TODO(cpovirk): It would be great to run all these tests (including class unloading) in an
       * environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of
       * doing so would be to derive a separate test library by using remove_from_jar to strip out
       * ClassValueValidator.
       *
       * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. cmd/data-scanner-metric.go

    // Returns a function that can be used to update the current object
    // and a function to call to when processing finished.
    func (p *scannerMetrics) currentPathUpdater(disk, initial string) (update func(path string), done func()) {
    	initialPtr := unsafe.Pointer(&initial)
    	tracker := &currentPathTracker{
    		name: &initialPtr,
    	}
    
    	p.currentPaths.Store(disk, tracker)
    	return func(path string) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top