Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for injecting (0.28 sec)

  1. pkg/scheduler/schedule_one_test.go

    				NumAllNodes: 1,
    				Diagnosis: framework.Diagnosis{
    					NodeToStatusMap: framework.NodeToStatusMap{
    						"3": framework.NewStatus(framework.Unschedulable, "injecting failure for pod test-filter").WithPlugin("FakeFilter"),
    					},
    					UnschedulablePlugins: sets.New("FakeFilter"),
    				},
    			},
    		},
    		{
    			name: "test with extender which filters out some 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/scheduler/framework/runtime/framework_test.go

    		return 0, framework.NewStatus(framework.Code(inj.ScoreStatus), "injecting failure.")
    	}
    	return inj.ScoreRes, nil
    }
    
    func injectNormalizeRes(inj injectedResult, scores framework.NodeScoreList) *framework.Status {
    	if framework.Code(inj.NormalizeStatus) != framework.Success {
    		return framework.NewStatus(framework.Code(inj.NormalizeStatus), "injecting failure.")
    	}
    	for i := range scores {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			// Set decoded length to a large value out of int64 range to simulate parse failure.
    			req.Header.Set("x-amz-decoded-content-length", "9999999999999999999999")
    		}
    
    		if err != nil {
    			t.Fatalf("Error injecting faults into the request: <ERROR> %v.", err)
    		}
    
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

                ]]>
              </description>
              <type>String</type>
              <!-- This default has to be enforced at the maven-artifact layer, to allow
                | injection of defaults from <dependencyManagement/>.
                | TODO: how can we document it?
                |-->
              <!-- defaultValue>compile</defaultValue -->
            </field>
            <field>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

            this.decorate = decorate;
            this.suffix = suffix;
            this.factoryId = factoryId;
        }
    
        /**
         * Returns a generator that applies DSL mix-in, extensibility and service injection for generated classes.
         */
        static ClassGenerator decorateAndInject(
            Collection<? extends InjectAnnotationHandler> allKnownAnnotations,
            PropertyRoleAnnotationHandler roleHandler,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  6. pkg/config/validation/validation.go

    		if err := checkDryRunAnnotation(config, isAuthz); err != nil {
    			return nil, err
    		}
    		if _, f := config.Annotations[constants.AlwaysReject]; f {
    			return nil, fmt.Errorf("%q annotation found, rejecting", constants.AlwaysReject)
    		}
    		return f(config)
    	}
    }
    
    func checkDryRunAnnotation(cfg config.Config, allowed bool) error {
    	if val, found := cfg.Annotations[annotation.IoIstioDryRun.Name]; found {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    }
    
    bool ShapeInference::InferShapeForCast(Operation* op) {
      DCOMMENT_OP(op, "Inferring shape for ");
      Value result = op->getResult(0);
      if (!CanBeRefined(result.getType())) return false;
    
      // Avoid inserting a cast where no users types could be refined (e.g., where
      // there would need to be a cast inserted for every user again).
      if (llvm::all_of(result.getUses(), [this](OpOperand& use) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. src/database/sql/sql.go

    	// only ever grab a connection from cg.
    	// If cg is nil then the Stmt must grab an arbitrary connection
    	// from db and determine if it must prepare the stmt again by
    	// inspecting css.
    	cg   stmtConnGrabber
    	cgds *driverStmt
    
    	// parentStmt is set when a transaction-specific statement
    	// is requested from an identical statement prepared on the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  9. src/database/sql/sql_test.go

    	}
    
    	// Can't put null val into non-null col
    	row5 := spec.rows[5]
    	if _, err := stmt.Exec(6, "bob", row5.nullParam, row5.notNullParam); err == nil {
    		t.Errorf("expected error inserting nil val with prepared statement Exec: NULL=%#v, NOT-NULL=%#v", row5.nullParam, row5.notNullParam)
    	}
    
    	_, err = db.Exec("INSERT|t|id=?,name=?,nullf=?", 999, nil, nil)
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize.cc

            auto filter_type = mlir::dyn_cast<RankedTensorType>(filter.getType());
            // Filter must be a `2D` tensor with `{num_channels, num_features}`
            // shape. The following check is rejecting unknown rank (-1).
            if (filter_type == nullptr || filter_type.getRank() != 2) {
              return failure();
            }
            int num_channels = filter_type.getShape()[0];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top