Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 82 for Res (0.03 sec)

  1. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    		t.Run(testCase.description, func(t *testing.T) {
    			res, err := getSystemReservedMemory(&testCase.machineInfo, testCase.nodeAllocatableReservation, testCase.systemReservedMemory)
    
    			if !reflect.DeepEqual(res, testCase.expectedReserved) {
    				t.Errorf("Memory Manager getReservedMemory() error, expected reserved %+v, but got: %+v",
    					testCase.expectedReserved, res)
    			}
    			if !reflect.DeepEqual(err, testCase.expectedError) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

    // CHECK-NEXT: [[bias:%.*]] = "tf.GatherV2"(%arg7, %arg3, [[cst_0]])
    // CHECK-NEXT: [[res:%.*]] = "tf.AddV2"([[mpy]], [[bias]])
    // CHECK-NEXT: [[ta_0:%.*]] = "tf_mlrt.tf_await"(%arg0)
    // CHECK-NEXT: [[ta_1:%.*]] = "tf.TensorListSetItem"([[ta_0]], %arg3, [[res]])
    // CHECK-NEXT: "tf_mlrt.tf_promise"(%arg1, [[ta_1]])
    // CHECK-NEXT: return
    
    // CHECK-LABEL: func @main_while
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            when:
            file("res/foo.txt") << "bar"
    
            buildScript """
                interface Services {
                    @Inject FileSystemOperations getFs()
                }
                task copyAction {
                    def fs = objects.newInstance(Services).fs
                    def source = 'res'
                    doLast {
                        fs.copy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_test.go

    					listeners[0].ListenerFiltersTimeout)
    			}
    		}
    	}
    }
    
    func getFilterChains(l *listener.Listener) []*listener.FilterChain {
    	res := l.FilterChains
    	if l.DefaultFilterChain != nil {
    		res = append(res, l.DefaultFilterChain)
    	}
    	return res
    }
    
    func getTCPFilterChain(t *testing.T, l *listener.Listener) *listener.FilterChain {
    	t.Helper()
    	for _, fc := range getFilterChains(l) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  5. src/runtime/pprof/pprof_test.go

    			}
    		}
    	})
    
    }
    
    func stacks(p *profile.Profile) (res [][]string) {
    	for _, s := range p.Sample {
    		var stk []string
    		for _, l := range s.Location {
    			for _, line := range l.Line {
    				stk = append(stk, line.Function.Name)
    			}
    		}
    		res = append(res, stk)
    	}
    	return res
    }
    
    func containsStack(got [][]string, want []string) bool {
    	for _, stk := range got {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		t.Fatalf("got more services than expected: %v vs %v", len(svcs), len(expected))
    	}
    	expe := [][]*model.IstioEndpoint{}
    	for _, o := range expected {
    		res := []*model.IstioEndpoint{}
    		for _, i := range o {
    			res = append(res, i.Endpoint)
    		}
    		expe = append(expe, res)
    	}
    	// The system is eventually consistent, so add some retries
    	retry.UntilSuccessOrFail(t, func() error {
    		for i, svc := range svcs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/cache/cache_test.go

    	b.inputs = append(b.inputs, hostPortInfoParam{protocol, ip, port})
    	return b
    }
    
    func (b *hostPortInfoBuilder) build() framework.HostPortInfo {
    	res := make(framework.HostPortInfo)
    	for _, param := range b.inputs {
    		res.Add(param.ip, param.protocol, param.port)
    	}
    	return res
    }
    
    func newNodeInfo(requestedResource *framework.Resource,
    	nonzeroRequest *framework.Resource,
    	pods []*v1.Pod,
    	usedPorts framework.HostPortInfo,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    					}
    				}
    
    			}
    		})
    	}
    }
    
    func objInfoNames(o []ObjectInfo) []string {
    	res := make([]string, len(o))
    	for i := range o {
    		res[i] = o[i].Name
    	}
    	return res
    }
    
    func TestDeleteObjectVersionMarker(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObjectVersion)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    }
    
    func addProvisionAnn(pvc *v1.PersistentVolumeClaim) *v1.PersistentVolumeClaim {
    	res := pvc.DeepCopy()
    	// Add provision related annotations
    	metav1.SetMetaDataAnnotation(&res.ObjectMeta, volume.AnnSelectedNode, nodeLabelValue)
    
    	return res
    }
    
    // reasonNames pretty-prints a list of reasons with variable names in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    	// which will look like "outbound|9080||productpage.default.svc.cluster.local"
    	res := fmt.Sprintf(`outbound\|%d\|[^\|]*\|(?P<service>[^\.]+)\.(?P<namespace>[^\.]+)\.svc\.cluster\.local$`, port)
    	re = regexp.MustCompile(res)
    
    	ss := re.FindStringSubmatch(clusterName)
    	if ss != nil {
    		if ss[1] == svc.ObjectMeta.Name && ss[2] == svc.ObjectMeta.Namespace {
    			return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top