- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 48 for Ptr (0.09 sec)
-
cmd/warm-backend-azure.go
func (az *warmBackendAzure) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) { azMeta := map[string]*string{} for k, v := range meta { azMeta[k] = to.Ptr(v) } resp, err := az.clnt.UploadStream(ctx, az.Bucket, az.getDest(object), io.LimitReader(r, length), &azblob.UploadStreamOptions{ Concurrency: 4, AccessTier: az.tier(), // set tier if specified Metadata: azMeta,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 7K bytes - Viewed (0) -
callbacks.go
} else { db.AddError(err) } } } // assign stmt.ReflectValue if stmt.Dest != nil { stmt.ReflectValue = reflect.ValueOf(stmt.Dest) for stmt.ReflectValue.Kind() == reflect.Ptr { if stmt.ReflectValue.IsNil() && stmt.ReflectValue.CanAddr() { stmt.ReflectValue.Set(reflect.New(stmt.ReflectValue.Type().Elem())) } stmt.ReflectValue = stmt.ReflectValue.Elem() }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
static const char** ToArray(const std::vector<string>& strs) { const char** ptr = nullptr; if (!strs.empty()) { ptr = new const char*[strs.size()]; for (size_t i = 0; i < strs.size(); ++i) { ptr[i] = strs[i].c_str(); } } return ptr; } // An explicit `num_opers` is needed so that we can distinguish between the
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
finisher_api.go
func (db *DB) Save(value interface{}) (tx *DB) { tx = db.getInstance() tx.Statement.Dest = value reflectValue := reflect.Indirect(reflect.ValueOf(value)) for reflectValue.Kind() == reflect.Ptr || reflectValue.Kind() == reflect.Interface { reflectValue = reflect.Indirect(reflectValue) } switch reflectValue.Kind() { case reflect.Slice, reflect.Array: if _, ok := tx.Statement.Clauses["ON CONFLICT"]; !ok {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 22.8K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
package iptables import ( "errors" "fmt" "net/netip" "strings" "istio.io/istio/cni/pkg/ipset" "istio.io/istio/cni/pkg/scopes" istiolog "istio.io/istio/pkg/log" "istio.io/istio/pkg/ptr" "istio.io/istio/tools/istio-iptables/pkg/builder" iptablesconfig "istio.io/istio/tools/istio-iptables/pkg/config" iptablesconstants "istio.io/istio/tools/istio-iptables/pkg/constants"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 23.3K bytes - Viewed (0) -
common/config/.golangci.yml
desc: "use istio.io/istio/pkg/env" - pkg: k8s.io/utils/strings/slices desc: "use istio.io/istio/pkg/slices" - pkg: k8s.io/utils/pointer desc: "use istio.io/istio/pkg/ptr" - pkg: go.opencensus.io desc: "do not use OpenCensus; use OpenTelemetry instead" - pkg: golang.org/x/exp/maps
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 11.7K bytes - Viewed (0) -
association.go
association.Error = fmt.Errorf("%w: %s", ErrUnsupportedRelation, column) } db.Statement.ReflectValue = reflect.ValueOf(db.Statement.Model) for db.Statement.ReflectValue.Kind() == reflect.Ptr { db.Statement.ReflectValue = db.Statement.ReflectValue.Elem() } } else { association.Error = err } return association } func (association *Association) Unscoped() *Association {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
src/cmd/api/main_test.go
if isDeprecated(n.Doc) { for _, id := range n.Names { mark(id) } if len(n.Names) == 0 { // embedded field T or *T? typ := n.Type if ptr, ok := typ.(*ast.StarExpr); ok { typ = ptr.X } if id, ok := typ.(*ast.Ident); ok { mark(id) } } } return false default: return false } }) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
doc/go1.17_spec.html
<p> The function <code>Slice</code> returns a slice whose underlying array starts at <code>ptr</code> and whose length and capacity are <code>len</code>. <code>Slice(ptr, len)</code> is equivalent to </p> <pre> (*[len]ArbitraryType)(unsafe.Pointer(ptr))[:] </pre> <p> except that, as a special case, if <code>ptr</code> is <code>nil</code> and <code>len</code> is zero,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
<p> The function <code>Slice</code> returns a slice whose underlying array starts at <code>ptr</code> and whose length and capacity are <code>len</code>. <code>Slice(ptr, len)</code> is equivalent to </p> <pre> (*[len]ArbitraryType)(unsafe.Pointer(ptr))[:] </pre> <p> except that, as a special case, if <code>ptr</code> is <code>nil</code> and <code>len</code> is zero,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0)