Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 124 for relocs (0.1 sec)

  1. pkg/controller/nodeipam/ipam/cidrset/cidr_set_test.go

    		}
    		em := testMetrics{
    			usage:      float64(i) / float64(256),
    			allocs:     float64(i),
    			releases:   0,
    			allocTries: 0,
    			max:        float64(max),
    		}
    		expectMetrics(t, cidr, em)
    	}
    	// Release all
    	a.Release(clusterCIDR)
    	em = testMetrics{
    		usage:      0,
    		allocs:     256,
    		releases:   256,
    		allocTries: 0,
    		max:        float64(max),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/string_test.go

    		}
    	})
    	if n != 0 {
    		t.Fatalf("want 0 allocs, got %v", n)
    	}
    }
    
    func TestStringIndexHaystack(t *testing.T) {
    	// See issue 25864.
    	haystack := []byte("hello")
    	needle := "ll"
    	n := testing.AllocsPerRun(1000, func() {
    		if strings.Index(string(haystack), needle) != 2 {
    			t.Fatalf("needle not found")
    		}
    	})
    	if n != 0 {
    		t.Fatalf("want 0 allocs, got %v", n)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  6. src/mdo/model.vm

                Map<Object, InputLocation> newlocs = this.locations != null ? this.locations : Collections.emptyMap();
                Map<Object, InputLocation> oldlocs = this.base != null && this.base.locations != null ? this.base.locations : Collections.emptyMap();
                Map<Object, InputLocation> locations = new HashMap<>();
                locations.put("", newlocs.containsKey("") ? newlocs.get("") : oldlocs.get(""));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. src/runtime/metrics_test.go

    			}
    			if gotFree != objects.frees {
    				t.Errorf("object distribution counts don't match total allocs: got %d, want %d", gotFree, objects.frees)
    			}
    		}
    	}
    	// The current GC has at least 2 pauses per GC.
    	// Check to see if that value makes sense.
    	if gc.pauses < gc.numGC*2 {
    		t.Errorf("fewer pauses than expected: got %d, want at least %d", gc.pauses, gc.numGC*2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/net/tcpsock_test.go

    		t.Fatal(err)
    	}
    	defer server.Close()
    
    	var buf [128]byte
    	allocs := testing.AllocsPerRun(1000, func() {
    		_, err := server.Write(buf[:])
    		if err != nil {
    			t.Fatal(err)
    		}
    		_, err = io.ReadFull(client, buf[:])
    		if err != nil {
    			t.Fatal(err)
    		}
    	})
    	if allocs > 0 {
    		t.Fatalf("got %v; want 0", allocs)
    	}
    
    	var bufwrt [128]byte
    	ch := make(chan bool)
    	defer close(ch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. src/net/udpsock_test.go

    			t.Fatal(err)
    		}
    	})
    	if got := int(allocs); got != 0 {
    		t.Errorf("WriteToUDPAddrPort/ReadFromUDPAddrPort allocated %d objects", got)
    	}
    
    	allocs = testing.AllocsPerRun(1000, func() {
    		_, err := conn.WriteTo(buf, addr)
    		if err != nil {
    			t.Fatal(err)
    		}
    		_, _, err = conn.ReadFromUDP(buf)
    		if err != nil {
    			t.Fatal(err)
    		}
    	})
    	if got := int(allocs); got != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof.go

    	values := []int64{0, 0}
    	var locs []uint64
    	expandedStack := pprof_makeProfStack()
    	for _, r := range records {
    		values[0] = r.Count
    		values[1] = int64(float64(r.Cycles) / cpuGHz)
    		// For count profiles, all stack addresses are
    		// return PCs, which is what appendLocsForStack expects.
    		n := pprof_fpunwindExpand(expandedStack[:], r.Stack)
    		locs = b.appendLocsForStack(locs[:0], expandedStack[:n])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top