Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for repeated (0.15 sec)

  1. pkg/scheduler/schedule_one_test.go

    	if diff := cmp.Diff(wantBindings, bindings); diff != "" {
    		t.Errorf("pods were scheduled incorrectly (-want, +got):\n%s", diff)
    	}
    	if diff := cmp.Diff(wantControllers, controllers); diff != "" {
    		t.Errorf("events were reported with wrong controllers (-want, +got):\n%s", diff)
    	}
    }
    
    // TestSchedulerGuaranteeNonNilNodeInSchedulingCycle is for detecting potential panic on nil Node when iterating Nodes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pkg/controller/daemon/daemon_controller_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Sanity check
    	if newDS.UID == oldDS.UID {
    		t.Fatal("New DS has the same UID as the old one!")
    	}
    
    	waitForQueueLength(1, "recreated DS")
    	ok = dsc.processNextWorkItem(context.TODO())
    	if !ok {
    		t.Fatal("Queue is shutting down!")
    	}
    
    	newDSKey, err := controller.KeyFunc(newDS)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  3. src/crypto/x509/x509_test.go

    		Subject:   pkix.Name{CommonName: "Cert"},
    		NotBefore: time.Unix(1000, 0),
    		NotAfter:  time.Unix(100000, 0),
    	}
    	for _, serial := range []*big.Int{
    		big.NewInt(0).SetBytes(bytes.Repeat([]byte{5}, 21)),
    		big.NewInt(0).SetBytes(bytes.Repeat([]byte{255}, 20)),
    	} {
    		template.SerialNumber = serial
    		certDER, err := CreateCertificate(rand.Reader, &template, &template, rsaPrivateKey.Public(), rsaPrivateKey)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_control_test.go

    	}
    	if pods, err = om.podsLister.Pods(set.Namespace).List(selector); err != nil {
    		t.Error(err)
    	}
    	recreatedPod := findPodByOrdinal(pods, terminalPodOrdinal)
    	// new recreated pod should have empty phase
    	if recreatedPod == nil || isCreated(recreatedPod) {
    		t.Error("StatefulSet did not recreate failed Pod")
    	}
    	expectedNumberOfCreateRequests := 2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          it != xla_call_module_loaders_.end()) {
        loader = it->second.get();
      } else {
        // Lazily parse XlaCallModule's embedded HLO module and cache the loader to
        // avoid repeatedly parsing the module.
    
        std::vector<std::string> disabled_checks;
        for (auto attr : op.getDisabledChecks().getAsRange<StringAttr>()) {
          disabled_checks.push_back(attr.getValue().str());
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

          ElementsAttr attr = yDefOp.getValue();
          bool yHasComplexElements = mlir::isa<ComplexType>(typeOfElementsInY);
    
          // If `y` is a splat constant, then the op will definitely get replaced.
          // We check for a splat constant first, in order to optimize the
          // performance of this canonicalization because this check will be O(1).
          if (auto splatAttr = mlir::dyn_cast<SplatElementsAttr>(attr)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        const int operation_index = item.index();
        if (inst.hasTrait<mlir::OpTrait::IsTerminator>()) break;
        // For "quant.stats" op, it's used to store the quantization parameters
        // info and its output should be then replaced by its input value.
        if (auto quant_stats_op =
                llvm::dyn_cast<mlir::quantfork::StatisticsOp>(inst)) {
          continue;
        }
        std::vector<int32_t> intermediates;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		t.Name.goString(indent+2, "Name: "), args)
    }
    
    // TemplateParam is a template parameter.  The Template field is
    // filled in while parsing the demangled string.  We don't normally
    // see these while printing--they are replaced by the simplify
    // function.
    type TemplateParam struct {
    	Index    int
    	Template *Template
    }
    
    func (tp *TemplateParam) print(ps *printState) {
    	if tp.Template == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    	}{
    		{name: "test CEL maxRecursionDepth",
    			obj:    objs(true),
    			schema: schemas(booleanType),
    			valid: []string{
    				strings.Repeat("self.val1"+" == ", maxValidDepth-1) + "self.val1",
    			},
    			errors: map[string]string{
    				strings.Repeat("self.val1"+" == ", maxValidDepth) + "self.val1": "max recursion depth exceeded",
    			},
    		},
    	}
    
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  10. fastapi/applications.py

                description: str | None = None
    
            app = FastAPI()
    
            @app.put("/items/{item_id}")
            def replace_item(item_id: str, item: Item):
                return {"message": "Item replaced", "id": item_id}
            ```
            """
            return self.router.put(
                path,
                response_model=response_model,
                status_code=status_code,
                tags=tags,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
Back to top