Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for 10485760 (0.12 sec)

  1. src/go/printer/testdata/linebreaks.input

    					Typeflag: '0',
    					Uname: "dsymonds",
    					Gname: "eng",
    				},
    				contents: "Google.com\n",
    			},
    		},
    	},
    	// The truncated test file was produced using these commands:
    	//   dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt
    	//   tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar
    	&writerTest{
    		file: "testdata/writer-big.tar",
    		entries: []*writerTestEntry{
    			&writerTestEntry{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 11 22:03:18 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/resource_allocation_test.go

    import (
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    
    	"k8s.io/kubernetes/pkg/scheduler/util"
    )
    
    func TestResourceAllocationScorerCalculateRequests(t *testing.T) {
    	const oneMi = 1048576
    	tests := []struct {
    		name     string
    		pod      v1.Pod
    		expected map[v1.ResourceName]int64
    	}{
    		{
    			name: "overhead only",
    			pod: v1.Pod{
    				Spec: v1.PodSpec{
    					Overhead: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. pkg/volume/util/fsquota/common/quota_common_linux.go

    	// FSQuotaEnforcing for quotas for enforcement
    	FSQuotaEnforcing QuotaType = 1 << iota
    )
    
    // FirstQuota is the quota ID we start with.
    // XXXXXXX Need a better way of doing this...
    var FirstQuota QuotaID = 1048577
    
    // MountsFile is the location of the system mount data
    var MountsFile = "/proc/self/mounts"
    
    // MountParseRegexp parses out /proc/sys/self/mounts
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/go/printer/testdata/linebreaks.golden

    					Typeflag:	'0',
    					Uname:		"dsymonds",
    					Gname:		"eng",
    				},
    				contents:	"Google.com\n",
    			},
    		},
    	},
    	// The truncated test file was produced using these commands:
    	//   dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt
    	//   tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar
    	&writerTest{
    		file:	"testdata/writer-big.tar",
    		entries: []*writerTestEntry{
    			&writerTestEntry{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 11 22:03:18 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/objfile_test.go

    	if err != nil {
    		t.Fatalf("can't create temp directory: %v\n", err)
    	}
    	defer os.RemoveAll(tmpdir)
    
    	// Emit testcase.
    	var w bytes.Buffer
    	fmt.Fprintf(&w, issue41621prolog)
    	for i := 0; i < 1048576+13; i++ {
    		fmt.Fprintf(&w, "\t\"%d\",\n", i)
    	}
    	fmt.Fprintf(&w, issue41621epilog)
    	err = os.WriteFile(tmpdir+"/large.go", w.Bytes(), 0666)
    	if err != nil {
    		t.Fatalf("can't write output: %v\n", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:12 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    			s.Sources[src].Places = append(s.Sources[src].Places, StackSlot{i, j})
    		}
    	}
    }
    
    func (s *StackSet) assignColors() {
    	// Assign different color indices to different packages.
    	const numColors = 1048576
    	for i, src := range s.Sources {
    		pkg := packageName(src.FullName)
    		h := sha256.Sum256([]byte(pkg))
    		index := binary.LittleEndian.Uint32(h[:])
    		s.Sources[i].Color = int(index % numColors)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/internal/poll/fd_mutex.go

    	mutexRWait   = 1 << 23
    	mutexRMask   = (1<<20 - 1) << 23
    	mutexWWait   = 1 << 43
    	mutexWMask   = (1<<20 - 1) << 43
    )
    
    const overflowMsg = "too many concurrent operations on a single file or socket (max 1048575)"
    
    // Read operations must do rwlock(true)/rwunlock(true).
    //
    // Write operations must do rwlock(false)/rwunlock(false).
    //
    // Misc operations must do incref/decref.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 20 16:55:30 UTC 2018
    - 6.4K bytes
    - Viewed (0)
Back to top