Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 124 for relocs (0.08 sec)

  1. pkg/registry/core/service/ipallocator/bitmap_test.go

    			}
    		})
    	}
    }
    
    // cpu: Intel(R) Xeon(R) CPU E5-2678 v3 @ 2.50GHz
    // BenchmarkAllocateNextIPv4
    // BenchmarkAllocateNextIPv4-24    	 1175304	       870.9 ns/op	    1337 B/op	      11 allocs/op
    func BenchmarkAllocateNextIPv4Size1048574(b *testing.B) {
    	_, cidr, err := netutils.ParseCIDRSloppy("10.0.0.0/12")
    	if err != nil {
    		b.Fatal(err)
    	}
    	r, err := NewInMemory(cidr)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    	mappingLocs := map[*profile.Mapping][]*profile.Location{}
    	for _, l := range prof.Location {
    		mappingLocs[l.Mapping] = append(mappingLocs[l.Mapping], l)
    	}
    	for midx, m := range prof.Mapping {
    		locs := mappingLocs[m]
    		if len(locs) == 0 {
    			// The mapping is dangling and has no locations pointing to it.
    			continue
    		}
    		// Do not attempt to re-symbolize a mapping that has already been symbolized.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. pkg/test/framework/test.go

    	TopLevel() Test
    	// Run the test, supplied as a lambda.
    	Run(fn func(t TestContext))
    	// RunParallel runs this test in parallel with other children of the same parent test/suite. Under the hood,
    	// this relies on Go's t.Parallel() and will, therefore, have the same behavior.
    	//
    	// A parallel test will run in parallel with siblings that share the same parent test. The parent test function
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/slices/slices_test.go

    		}
    		var sink []int
    		allocs := testing.AllocsPerRun(5, func() {
    			sink = Concat(tc.s...)
    		})
    		_ = sink
    		if allocs > 1 {
    			errorf := t.Errorf
    			if testenv.OptimizationOff() || race.Enabled {
    				errorf = t.Logf
    			}
    			errorf("Concat(%v) allocated %v times; want 1", tc.s, allocs)
    		}
    	}
    }
    
    func TestConcat_too_large(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    		}
    	} else if err != nil {
    		return err
    	}
    	obj.SetResourceVersion(check.GetResourceVersion())
    	return clnt.Update(ctx, obj)
    }}
    
    // recreateSimpleTestEnv mocks fake kube api server which relies on a simple object tracker
    func recreateSimpleTestEnv() {
    	log.Infof("Creating simple test environment\n")
    	helmreconciler.TestMode = true
    	s := scheme.Scheme
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/maven/conf/settings.xml

       |
       | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
       | section of this document (settings.xml) - will be discussed later. Another way essentially
       | relies on the detection of a property, either matching a particular value for the property,
       | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:06:01 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. tests/integration/telemetry/policy/helper_test.go

    		t.Fatalf("failed to apply gateway: %v. template: %v", err, b)
    	}
    }
    
    // TODO support native environment for registry only/gateway. Blocked by #13177 because the listeners for native use static
    // routes and this test relies on the dynamic routes sent through pilot to allow external traffic.
    
    func RunExternalRequest(t *testing.T, cases []*TestCase, prometheus prometheus.Instance, mode TrafficPolicy) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/helper.go

    	"k8s.io/kubernetes/pkg/kubelet/cadvisor"
    	"k8s.io/kubernetes/pkg/kubelet/server/stats"
    )
    
    // defaultNetworkInterfaceName is used for collectng network stats.
    // This logic relies on knowledge of the container runtime implementation and
    // is not reliable.
    const defaultNetworkInterfaceName = "eth0"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  9. pkg/kubelet/pod/pod_manager.go

    		delete(pm.podByFullName, podFullName)
    	}
    }
    
    func (pm *basicManager) GetPods() []*v1.Pod {
    	pm.lock.RLock()
    	defer pm.lock.RUnlock()
    	return podsMapToPods(pm.podByUID)
    }
    
    func (pm *basicManager) GetPodsAndMirrorPods() (allPods []*v1.Pod, allMirrorPods []*v1.Pod, orphanedMirrorPodFullnames []string) {
    	pm.lock.RLock()
    	defer pm.lock.RUnlock()
    	allPods = podsMapToPods(pm.podByUID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:00 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/link.go

    // It represents Go symbols in a flat pkg+"."+name namespace.
    type LSym struct {
    	Name string
    	Type objabi.SymKind
    	Attribute
    
    	Size   int64
    	Gotype *LSym
    	P      []byte
    	R      []Reloc
    
    	Extra *interface{} // *FuncInfo, *VarInfo, *FileInfo, or *TypeInfo, if present
    
    	Pkg    string
    	PkgIdx int32
    	SymIdx int32
    }
    
    // A FuncInfo contains extra fields for STEXT symbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top