Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for inserting (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      return changed;
    }
    
    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).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  2. 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)
  3. src/database/sql/sql.go

    type Result interface {
    	// LastInsertId returns the integer generated by the database
    	// in response to a command. Typically this will be from an
    	// "auto increment" column when inserting a new row. Not all
    	// databases support this feature, and the syntax of such
    	// statements varies.
    	LastInsertId() (int64, error)
    
    	// RowsAffected returns the number of rows affected by an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    		return l
    	}
    	return q
    }
    
    // isJump returns whether p is a jump instruction.
    // It is used to ensure that no standalone or macro-fused jump will straddle
    // or end on a 32 byte boundary by inserting NOPs before the jumps.
    func isJump(p *obj.Prog) bool {
    	return p.To.Target() != nil || p.As == obj.AJMP || p.As == obj.ACALL ||
    		p.As == obj.ARET || p.As == obj.ADUFFCOPY || p.As == obj.ADUFFZERO
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/asm9.go

    				mark := p.Mark &^ PFX_X64B
    				if pc&63 == 60 {
    					p.Pc += 4
    					m += 4
    					mark |= PFX_X64B
    				}
    
    				// Marks may be adjusted if a too-far conditional branch is
    				// fixed up above. Likewise, inserting a NOP may cause a
    				// branch target to become too far away.  We need to run
    				// another iteration and verify no additional changes
    				// are needed.
    				if mark != p.Mark {
    					bflag = 1
    					p.Mark = mark
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  6. cmd/server_test.go

    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// Asserting the error response with the expected values.
    	verifyError(c, response, "NoSuchKey", "The specified key does not exist.", http.StatusNotFound)
    
    	objectName = "testObject1"
    	// content for the object to be uploaded.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

    //    `host_graph`. Because we might still have outside compilation to outside
    //    compilation placeholder nodes in shape inference graph, which will prevent
    //    us from inferring XlaSendFromHost shape. But in `host_graph`, we already
    //    removed those placeholder nodes.
    // 2) Remove control edges.
    // 3) Prune nodes that are not useful for shape inference.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          // calculation here.
          return (int) Math.ceil(expectedSize / 0.75);
        }
        return Integer.MAX_VALUE; // any large value
      }
    
      /**
       * Creates a <i>mutable</i>, empty, insertion-ordered {@code LinkedHashMap} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
Back to top