Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for RES (0.03 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        }
        // Returns -1 if we don't find which this result maps to.
        return -1;
      };
    
      llvm::SmallVector<Value, 4> returns;
      for (auto res : func.getBody().back().getTerminator()->getOperands()) {
        returns.push_back(res);
      }
      llvm::DenseMap<int, int> result;
      for (const auto &result_and_idx : llvm::enumerate(returns)) {
        if (IsTensorListType(result_and_idx.value().getType(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    			}
    			opts.NumVersions = 1
    			if tc.hasManyVersions {
    				opts.NumVersions = 2 // at least one noncurrent version
    			}
    			if res := lc.Eval(opts); res.Action != tc.expectedAction {
    				t.Fatalf("Expected action: `%v`, got: `%v`", tc.expectedAction, res.Action)
    			}
    		})
    	}
    }
    
    func TestHasActiveRules(t *testing.T) {
    	testCases := []struct {
    		inputConfig string
    		prefix      string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    		}
    		ttl, err := e.calculateTTL(obj, res.TTL, true)
    		if err != nil {
    			return nil, nil, err
    		}
    
    		// The operation has succeeded.  Call the finish function if there is one,
    		// and then make sure the defer doesn't call it again.
    		fn := finishUpdate
    		finishUpdate = finishNothing
    		fn(ctx, true)
    
    		if int64(ttl) != res.TTL {
    			return obj, &ttl, nil
    		}
    		return obj, nil, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/sidecar_simulation_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	meta := clusterServicesMetadata{}
    	if err := json.Unmarshal(s, &meta); err != nil {
    		t.Fatal(err)
    	}
    	res := []string{}
    	for _, m := range meta.Services {
    		res = append(res, m.Host)
    	}
    	return res
    }
    
    func mtlsMode(m string) string {
    	return fmt.Sprintf(`apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: default
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top