Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 249 for pcount (0.13 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

            @SuppressWarnings("unchecked") // we only put Ts in it
            @Nullable
            T[] array = (@Nullable T[]) new Object[size];
            int count = 0;
            for (; count < size && iterator.hasNext(); count++) {
              array[count] = iterator.next();
            }
            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterators.java

            @SuppressWarnings("unchecked") // we only put Ts in it
            @Nullable
            T[] array = (@Nullable T[]) new Object[size];
            int count = 0;
            for (; count < size && iterator.hasNext(); count++) {
              array[count] = iterator.next();
            }
            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "SLW", argLength: 2, reg: sh21, asm: "SLW"},                    // arg0 << arg1, shift amount is mod 64
    		{name: "SLDconst", argLength: 1, reg: gp11, asm: "SLD", aux: "UInt8"}, // arg0 << auxint, shift amount 0-63
    		{name: "SLWconst", argLength: 1, reg: gp11, asm: "SLW", aux: "UInt8"}, // arg0 << auxint, shift amount 0-31
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

            outputDoesNotContain('Providing metadata for group:projectA:1.1')
    
            and: "remote status file parsed only once"
            outputContains 'Parsing status file call count: 1'
            outputDoesNotContain('Parsing status file call count: 2')
    
            when: "resolving the same dependencies"
            server.expectHead("/repo/status.txt", statusFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    		buf[n-1] = 'x'
    		for i := 0; i < b.N; i++ {
    			j := Count(buf, buf[n-7:])
    			if j != 1 {
    				b.Fatal("bad count", j)
    			}
    		}
    		buf[n-1] = '\x00'
    	})
    }
    
    func BenchmarkCountEasy(b *testing.B) {
    	benchBytes(b, indexSizes, func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		buf[n-1] = 'x'
    		buf[n-7] = 'x'
    		for i := 0; i < b.N; i++ {
    			j := Count(buf, buf[n-7:])
    			if j != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  6. src/runtime/mgcmark.go

    				// It's only used by the new tracer.
    				// See the comment on enteredMarkAssistForTracing.
    				gp.inMarkAssist = false
    			}
    		}
    		return
    	}
    	// Compute the amount of scan work we need to do to make the
    	// balance positive. When the required amount of work is low,
    	// we over-assist to build up credit for future allocations
    	// and amortize the cost of assisting.
    	assistWorkPerByte := gcController.assistWorkPerByte.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  7. src/runtime/mgc.go

    // The finalizer goroutine is kicked off only when all spans are swept.
    // When the next GC starts, it sweeps all not-yet-swept spans (if any).
    
    // GC rate.
    // Next GC is after we've allocated an extra amount of memory proportional to
    // the amount already in use. The proportion is controlled by GOGC environment variable
    // (100 by default). If GOGC=100 and we're using 4M, we'll GC again when we get to 8M
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  8. src/strings/strings_test.go

    }
    
    func TestRepeat(t *testing.T) {
    	for _, tt := range RepeatTests {
    		a := Repeat(tt.in, tt.count)
    		if !equal("Repeat(s)", a, tt.out, t) {
    			t.Errorf("Repeat(%v, %d) = %v; want %v", tt.in, tt.count, a, tt.out)
    			continue
    		}
    	}
    }
    
    func repeat(s string, count int) (err error) {
    	defer func() {
    		if r := recover(); r != nil {
    			switch v := r.(type) {
    			case error:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    }
    
    // AddServiceAccount - add a new service account
    func (store *IAMStoreSys) AddServiceAccount(ctx context.Context, cred auth.Credentials) (updatedAt time.Time, err error) {
    	cache := store.lock()
    	defer store.unlock()
    
    	accessKey := cred.AccessKey
    	parentUser := cred.ParentUser
    
    	// Found newly requested service account, to be an existing account -
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/replica_calculator_test.go

    		if tc.expectedError != nil {
    			require.Error(t, err, "there should be an error calculating the replica count")
    			assert.Contains(t, err.Error(), tc.expectedError.Error(), "the error message should have contained the expected error message")
    			return
    		}
    		require.NoError(t, err, "there should not have been an error calculating the replica count")
    		assert.Equal(t, tc.expectedReplicas, outReplicas, "replicas should be as expected")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
Back to top