Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,029 for Base (0.03 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // Creates a new TensorHandle from memory residing in the physical device
    // device_name. Takes ownership of the memory, and will call deleter to release
    // it after TF no longer needs it or in case of error.
    //
    // Custom devices must use TFE_NewCustomDeviceTensorHandle instead.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory(
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    There are some situations in where it's useful to be able to add custom headers to the HTTP error. For example, for some types of security.
    
    You probably won't need to use it directly in your code.
    
    But in case you needed it for an advanced scenario, you can add custom headers:
    
    ```Python hl_lines="14"
    {!../../docs_src/handling_errors/tutorial002.py!}
    ```
    
    ## Install custom exception handlers
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/perf-tests.go

    }
    
    // Reader to read random data.
    type netperfReader struct {
    	n   uint64
    	eof chan struct{}
    	buf []byte
    }
    
    func (m *netperfReader) Read(b []byte) (int, error) {
    	select {
    	case <-m.eof:
    		return 0, io.EOF
    	default:
    	}
    	n := copy(b, m.buf)
    	atomic.AddUint64(&m.n, uint64(n))
    	return n, nil
    }
    
    func netperf(ctx context.Context, duration time.Duration) madmin.NetperfNodeResult {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    * ➕ Add docs dependency: markdown-include-variants. PR [#12399](https://github.com/fastapi/fastapi/pull/12399) by [@tiangolo](https://github.com/tiangolo).
    * 📝 Fix extra mdx-base-path paths. PR [#12397](https://github.com/fastapi/fastapi/pull/12397) by [@tiangolo](https://github.com/tiangolo).
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:51:17 UTC 2024
    - 449.4K bytes
    - Viewed (0)
  5. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    1. Do not set a convention at all
    2. Set a convention in a plugin
    3. Set a convention in a constructor
    
    Most properties should have a convention set, so (1) can be treated as a rare case where a value must be provided by a user.
    
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. docs/distributed/DESIGN.md

                    if atTotal > choose && pool.Available > 0 {
                            return pool.Index
                    }
            }
            // Should not happen, but print values just in case.
            panic(fmt.Errorf("reached end of serverPools (total: %v, atTotal: %v, choose: %v)", total, atTotal, choose))
    }
    ```
    
    ## Other usages
    
    ### Advanced use cases with multiple ellipses
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. internal/http/headers.go

    	// current cluster does not have the object yet. This is in a site/bucket replication scenario.
    	MinIOTaggingProxied = "X-Minio-Tagging-Proxied"
    	// Header indicates the actual replicated object size
    	// In case of SSEC objects getting replicated (multipart) actual size would be needed at target
    	MinIOReplicationActualObjectSize = "X-Minio-Replication-Actual-Object-Size"
    
    	// predicted date/time of transition
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. cmd/object-handlers-common.go

    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	if objInfo.ETag != "" && !delete {
    		w.Header()[xhttp.ETag] = []string{`"` + objInfo.ETag + `"`}
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. cmd/erasure-metadata_test.go

    		partNumString := strconv.Itoa(testCase.partNum)
    		fi.AddObjectPart(testCase.partNum, "etag."+partNumString, int64(testCase.partNum+humanize.MiByte), ActualSize, UTCNow(), nil, nil)
    	}
    
    	// Add failure test case.
    	testCases = append(testCases, struct {
    		partNum       int
    		expectedIndex int
    	}{6, -1})
    
    	// Test them.
    	for _, testCase := range testCases {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. gorm.go

    			preparedStmt = v.(*PreparedStmtDB)
    		} else {
    			preparedStmt = NewPreparedStmtDB(db.ConnPool)
    			db.cacheStore.Store(preparedStmtDBKey, preparedStmt)
    		}
    
    		switch t := tx.Statement.ConnPool.(type) {
    		case Tx:
    			tx.Statement.ConnPool = &PreparedStmtTX{
    				Tx:             t,
    				PreparedStmtDB: preparedStmt,
    			}
    		default:
    			tx.Statement.ConnPool = &PreparedStmtDB{
    				ConnPool: db.Config.ConnPool,
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top