Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 269 for relocs (0.15 sec)

  1. src/cmd/compile/internal/base/base.go

    	const (
    		goal   = "/gc/heap/goal:bytes"
    		count  = "/gc/cycles/total:gc-cycles"
    		allocs = "/gc/heap/allocs:bytes"
    		frees  = "/gc/heap/frees:bytes"
    	)
    
    	sample := []metrics.Sample{{Name: goal}, {Name: count}, {Name: allocs}, {Name: frees}}
    	const (
    		GOAL   = 0
    		COUNT  = 1
    		ALLOCS = 2
    		FREES  = 3
    	)
    
    	// Assumptions and observations of Go's garbage collector, as of Go 1.17-1.20:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/sync/map_test.go

    }
    
    func TestMapRangeNoAllocations(t *testing.T) { // Issue 62404
    	testenv.SkipIfOptimizationOff(t)
    	var m sync.Map
    	allocs := testing.AllocsPerRun(10, func() {
    		m.Range(func(key, value any) bool {
    			return true
    		})
    	})
    	if allocs > 0 {
    		t.Errorf("AllocsPerRun of m.Range = %v; want 0", allocs)
    	}
    }
    
    // TestConcurrentClear tests concurrent behavior of sync.Map properties to ensure no data races.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/mips64/asm.go

    	}
    
    	return val, 0, false
    }
    
    func archrelocvariant(*ld.Target, *loader.Loader, loader.Reloc, sym.RelocVariant, loader.Sym, int64, []byte) int64 {
    	return -1
    }
    
    func extreloc(target *ld.Target, ldr *loader.Loader, r loader.Reloc, s loader.Sym) (loader.ExtReloc, bool) {
    	switch r.Type() {
    	case objabi.R_ADDRMIPS,
    		objabi.R_ADDRMIPSU:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache_test.go

    		var wg sync.WaitGroup
    		for i := 0; i < 100; i++ {
    			wg.Add(1)
    			go func() {
    				f()
    				wg.Done()
    			}()
    		}
    		wg.Wait()
    
    		allocs := testing.AllocsPerRun(100, f)
    		if allocs > 1 {
    			t.Errorf("Expected 1 allocations, got %v", allocs)
    		}
    	})
    }
    
    func TestSimpleCache(t *testing.T) {
    	fakeClock := testingclock.NewFakeClock(time.Now())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 31 20:26:58 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/riscv64/obj.go

    			Linuxdynld: "/lib/ld.so.1",
    
    			Freebsddynld:   "/usr/libexec/ld-elf.so.1",
    			Netbsddynld:    "XXX",
    			Openbsddynld:   "/usr/libexec/ld.so",
    			Dragonflydynld: "XXX",
    			Solarisdynld:   "XXX",
    
    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 17:46:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loong64/obj.go

    			LinuxdynldMusl: "/lib/ld-musl-loongarch64.so.1",
    			Freebsddynld:   "XXX",
    			Openbsddynld:   "XXX",
    			Netbsddynld:    "XXX",
    			Dragonflydynld: "XXX",
    			Solarisdynld:   "XXX",
    
    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 13:49:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. pkg/kubelet/logs/container_log_manager_test.go

    	f := critest.NewFakeRuntimeService()
    	c := &containerLogManager{
    		runtimeService: f,
    		policy: LogRotatePolicy{
    			MaxSize:  testMaxSize,
    			MaxFiles: testMaxFiles,
    		},
    		osInterface: container.RealOS{},
    		clock:       testingclock.NewFakeClock(now),
    		mutex:       sync.Mutex{},
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/ureader.go

    	for i, n := 0, r.Len(); i < n; i++ {
    		// As if r.obj(), but avoiding the Scope.Lookup call,
    		// to avoid eager loading of imports.
    		r.Sync(pkgbits.SyncObject)
    		assert(!r.Bool())
    		r.p.objIdx(r.Reloc(pkgbits.RelocObj))
    		assert(r.Len() == 0)
    	}
    
    	r.Sync(pkgbits.SyncEOF)
    
    	for _, fn := range pr.laterFns {
    		fn()
    	}
    
    	for _, iface := range pr.ifaces {
    		iface.Complete()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. releasenotes/notes/drop-reload-sidecar-ignore-port.yaml

    John Howard <******@****.***> 1682567498 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 27 03:51:38 UTC 2023
    - 154 bytes
    - Viewed (0)
  10. releasenotes/notes/drop-reload-prioritized-leader-election.yaml

    John Howard <******@****.***> 1682620625 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 27 18:37:05 UTC 2023
    - 148 bytes
    - Viewed (0)
Back to top