Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 217 for book (0.07 sec)

  1. schema/naming.go

    }
    
    var _ Namer = (*NamingStrategy)(nil)
    
    // NamingStrategy tables, columns naming strategy
    type NamingStrategy struct {
    	TablePrefix         string
    	SingularTable       bool
    	NameReplacer        Replacer
    	NoLowerCase         bool
    	IdentifierMaxLength int
    }
    
    // TableName convert string to table name
    func (ns NamingStrategy) TableName(str string) string {
    	if ns.SingularTable {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER"
    
    // skipContentSha256Cksum returns true if caller needs to skip
    // payload checksum, false if not.
    func skipContentSha256Cksum(r *http.Request) bool {
    	var (
    		v  []string
    		ok bool
    	)
    
    	if isRequestPresignedSignatureV4(r) {
    		v, ok = r.Form[xhttp.AmzContentSha256]
    		if !ok {
    			v, ok = r.Header[xhttp.AmzContentSha256]
    		}
    	} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    						VersionID:  exp.VersionID,
    					},
    				}
    				toDel = append(toDel, od)
    				oiCache.Add(od, &exp.ObjectInfo)
    			}
    
    			var done bool
    			// DeleteObject(deletePrefix: true) to expire all versions of an object
    			for _, exp := range toExpireAll {
    				var success bool
    				for attempts := 1; attempts <= retryAttempts; attempts++ {
    					select {
    					case <-ctx.Done():
    						done = true
    					default:
    					}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	cgoUnsafeArgs       bool
    	hasdefer            bool // whether the function contains a defer statement
    	softFloat           bool
    	hasOpenDefers       bool // whether we are doing open-coded defers
    	checkPtrEnabled     bool // whether to insert checkptr instrumentation
    	instrumentEnterExit bool // whether to instrument function enter/exit
    	instrumentMemory    bool // whether to instrument memory operations
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. cmd/object-handlers-common.go

    //	x-amz-copy-source-if-unmodified-since
    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPartPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    	return checkCopyObjectPreconditions(ctx, w, r, objInfo)
    }
    
    // Validates the preconditions for CopyObject, returns true if CopyObject operation should not proceed.
    // Preconditions supported are:
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        if (call.getOperation()->getNumOperands() !=
            f.getBody().front().getNumArguments()) {
          return failure();  // RemoteCall et al
        }
    
        rewriter.startOpModification(f);
        bool changed = false;
        for (auto [call_arg, body_arg] :
             llvm::zip(call.getOperation()->getOperands(),
                       f.getBody().front().getArguments())) {
          if (call_arg.getType() != body_arg.getType()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. internal/grid/handlers.go

    	comparable
    }
    
    // SingleHandler is a type safe handler for single roundtrip requests.
    type SingleHandler[Req, Resp RoundTripper] struct {
    	id            HandlerID
    	sharedResp    bool
    	callReuseReq  bool
    	ignoreNilConn bool
    
    	newReq  func() Req
    	newResp func() Resp
    
    	recycleReq  func(Req)
    	recycleResp func(Resp)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_builder_test.go

    		name   string
    		config string
    		http   map[int]bool
    		tls    map[int]bool
    	}{
    		{
    			name:   "permissive",
    			config: "",
    			http: map[int]bool{
    				// Should not see HTTP inspector if we declare ports
    				80: true,
    				82: true,
    				// But should see for passthrough or unnamed ports
    				81:   false,
    				1000: false,
    			},
    			tls: map[int]bool{
    				// Permissive mode: inspector is set everywhere
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    	return p.storage.String()
    }
    
    func (p *xlStorageDiskIDCheck) IsOnline() bool {
    	storedDiskID, err := p.storage.GetDiskID()
    	if err != nil {
    		return false
    	}
    	return storedDiskID == *p.diskID.Load()
    }
    
    func (p *xlStorageDiskIDCheck) LastConn() time.Time {
    	return p.storage.LastConn()
    }
    
    func (p *xlStorageDiskIDCheck) IsLocal() bool {
    	return p.storage.IsLocal()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. pkg/config/validation/virtualservice.go

    	DelegateRoute
    )
    
    func getHTTPRouteType(http *networking.HTTPRoute, isDelegate bool) HTTPRouteType {
    	if isDelegate {
    		return DelegateRoute
    	}
    	// root vs's http route
    	if http.Delegate != nil {
    		return RootRoute
    	}
    	return IndependentRoute
    }
    
    func validateHTTPRoute(http *networking.HTTPRoute, delegate, gatewaySemantics bool) (errs Validation) {
    	routeType := getHTTPRouteType(http, delegate)
    	// check for conflicts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top