Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 228 for 100m (1.01 sec)

  1. cmd/erasure-metadata_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"strconv"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    )
    
    const ActualSize = 1000
    
    // Test FileInfo.AddObjectPart()
    func TestAddObjectPart(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{1, 0},
    		{2, 1},
    		{4, 2},
    		{5, 3},
    		{7, 4},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  currentFuture.get().addListener(listener, executor);
                  return null;
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties());
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          currentFuture.set(future);
          for (Callable<?> task : allTasks) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. src/runtime/cpuprof.go

    	// Assuming the stacks are 2 words each (we don't get
    	// a full traceback from those threads), plus one word
    	// size for framing, 100 Hz profiling would generate
    	// 300 words per second.
    	// Hopefully a normal Go thread will get the profiling
    	// signal at least once every few seconds.
    	extra      [1000]uintptr
    	numExtra   int
    	lostExtra  uint64 // count of frames lost because extra is full
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/sync/pool_test.go

    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			for b := 0; b < 100; b++ {
    				p.Put(1)
    			}
    			for b := 0; b < 100; b++ {
    				p.Get()
    			}
    		}
    	})
    }
    
    // Simulate object starvation in order to force Ps to steal objects
    // from other Ps.
    func BenchmarkPoolStarvation(b *testing.B) {
    	var p Pool
    	count := 100
    	// Reduce number of putted objects by 33 %. It creates objects starvation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. cmd/kube-apiserver/app/options/options_test.go

    					LeaseManagerConfig: etcd3.LeaseManagerConfig{
    						ReuseDurationSeconds: 100,
    						MaxObjectCount:       1000,
    					},
    				},
    				DefaultStorageMediaType: "application/vnd.kubernetes.protobuf",
    				DeleteCollectionWorkers: 1,
    				EnableGarbageCollection: true,
    				EnableWatchCache:        true,
    				DefaultWatchCacheSize:   100,
    			},
    			SecureServing: (&apiserveroptions.SecureServingOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  currentFuture.get().addListener(listener, executor);
                  return null;
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties());
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          currentFuture.set(future);
          for (Callable<?> task : allTasks) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/css/manual.css

    	table-layout: fixed;
    	border: none;
    	width: 100%
    }
    
    .admonitionblock td.content {
    	word-wrap: anywhere;
    	background: var(--admonition-background);
    	padding: 1rem 1rem 1rem 1rem;
    	width: 100%;
    	border-radius: 4px;
    }
    
    .admonitionblock td.icon {
    	background: linear-gradient(90deg, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .2)) no-repeat 0 /2.075em 100%;
    	border-radius: .5em;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  8. src/syscall/exec_linux_test.go

    	if err != nil {
    		if os.IsNotExist(err) || os.IsPermission(err) {
    			t.Skip(err)
    		}
    		t.Fatal(err)
    	}
    
    	// Expect a single line like this:
    	// 0::/user.slice/user-1000.slice/user@1000.service/app.slice/vte-spawn-891992a2-efbb-4f28-aedb-b24f9e706770.scope
    	// Otherwise it's either cgroup v1 or a hybrid hierarchy.
    	if bytes.Count(selfCg, []byte("\n")) > 1 {
    		t.Skip("cgroup v2 not available")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    		}
    		// and turn it into a float64
    		x := math.Float64frombits(binary.LittleEndian.Uint64(b))
    		if math.IsNaN(x) || math.IsInf(x, 0) {
    			continue
    		}
    		x = math.Abs(x)
    		if x < 0x1p-1000 { // avoid underflow patterns
    			continue
    		}
    		frac, _ := math.Frexp(x) // 52 bits of randomness
    		return frac*2 - 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/time/time.go

    //	fmt.Print(int64(second/time.Millisecond)) // prints 1000
    //
    // To convert an integer number of units to a Duration, multiply:
    //
    //	seconds := 10
    //	fmt.Print(time.Duration(seconds)*time.Second) // prints 10s
    const (
    	Nanosecond  Duration = 1
    	Microsecond          = 1000 * Nanosecond
    	Millisecond          = 1000 * Microsecond
    	Second               = 1000 * Millisecond
    	Minute               = 60 * Second
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
Back to top