Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for translation (0.18 sec)

  1. misc/cgo/gmp/gmp.go

    Cgo's most interesting translation is for functions.  If xxx is a C
    function, then cgo rewrites C.xxx into a new function _C_xxx that
    calls the C xxx in a standard pthread.  The new function translates
    its arguments, calls xxx, and translates the return value.
    
    Translation of parameters and the return value follows the type
    translation above except that arrays passed as parameters translate
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  2. src/cmd/addr2line/main.go

    			// This was an extension in the old C version of 'go tool addr2line'
    			// and is probably not used by anyone, but recognize the syntax.
    			// We don't have an implementation.
    			fmt.Fprintf(stdout, "!reverse translation not implemented\n")
    			continue
    		}
    		pc, _ := strconv.ParseUint(strings.TrimPrefix(p, "0x"), 16, 64)
    		file, line, fn := tab.PCToLine(pc)
    		name := "?"
    		if fn != nil {
    			name = fn.Name
    		} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/transition.go

    func (t *Transition) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	type transitionWrapper Transition
    	var trw transitionWrapper
    	err := d.DecodeElement(&trw, &startElement)
    	if err != nil {
    		return err
    	}
    	*t = Transition(trw)
    	t.set = true
    	return nil
    }
    
    // Validate - validates the "Transition" element
    func (t Transition) Validate() error {
    	if !t.set {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  4. gorm.go

    	// DisableNestedTransaction disable nested transaction
    	DisableNestedTransaction bool
    	// AllowGlobalUpdate allow global update
    	AllowGlobalUpdate bool
    	// QueryFields executes the SQL query with all fields of the table
    	QueryFields bool
    	// CreateBatchSize default create batch size
    	CreateBatchSize int
    	// TranslateError enabling error translation
    	TranslateError bool
    
    	// ClauseBuilders clause builder
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  5. callbacks/transaction.go

    			db.Statement.ConnPool = tx.Statement.ConnPool
    			db.InstanceSet("gorm:started_transaction", true)
    		} else if tx.Error == gorm.ErrInvalidTransaction {
    			tx.Error = nil
    		} else {
    			db.Error = tx.Error
    		}
    	}
    }
    
    func CommitOrRollbackTransaction(db *gorm.DB) {
    	if !db.Config.SkipDefaultTransaction {
    		if _, ok := db.InstanceGet("gorm:started_transaction"); ok {
    			if db.Error != nil {
    				db.Rollback()
    			} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Nov 29 01:33:20 GMT 2021
    - 675 bytes
    - Viewed (0)
  6. internal/config/api/api.go

    	apiListQuorum              = "list_quorum"
    	apiReplicationPriority     = "replication_priority"
    	apiReplicationMaxWorkers   = "replication_max_workers"
    
    	apiTransitionWorkers           = "transition_workers"
    	apiStaleUploadsCleanupInterval = "stale_uploads_cleanup_interval"
    	apiStaleUploadsExpiry          = "stale_uploads_expiry"
    	apiDeleteCleanupInterval       = "delete_cleanup_interval"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  7. cmd/crossdomain-xml-handler.go

    // directed towards a domain other than its own, the remote domain needs to host a cross-domain
    // policy file that grants access to the source domain, allowing the client to continue the transaction.
    func setCrossDomainPolicyMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		cxml := crossDomainXML
    		if globalServerCtxt.CrossDomainXML != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-utils_test.go

    		fi.ModTime = basefi.ModTime.Add(time.Duration(i) * time.Second)
    		if err := xl.AddVersion(fi); err != nil {
    			t.Fatalf("%d: Failed to add version %v", i+1, err)
    		}
    
    		if i > 3 {
    			// Simulate transition of a version
    			transfi := fi
    			transfi.TransitionStatus = lifecycle.TransitionComplete
    			transfi.TransitionTier = "MINIO-TIER"
    			transfi.TransitionedObjName = mustGetUUID()
    			xl.DeleteVersion(transfi)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. cmd/erasure-metadata.go

    			objInfo.RestoreExpires, _ = restoreStatus.Expiry()
    		}
    	}
    	objInfo.Checksum = fi.Checksum
    	objInfo.Inlined = fi.InlineData()
    	// Success.
    	return objInfo
    }
    
    // TransitionInfoEquals returns true if transition related information are equal, false otherwise.
    func (fi FileInfo) TransitionInfoEquals(ofi FileInfo) bool {
    	switch {
    	case fi.TransitionStatus != ofi.TransitionStatus,
    		fi.TransitionTier != ofi.TransitionTier,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  10. cmd/object-api-utils.go

    func mustGetUUIDBytes() []byte {
    	u, err := uuid.NewRandom()
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return u[:]
    }
    
    // Create an s3 compatible MD5sum for complete multipart transaction.
    func getCompleteMultipartMD5(parts []CompletePart) string {
    	var finalMD5Bytes []byte
    	for _, part := range parts {
    		md5Bytes, err := hex.DecodeString(canonicalizeETag(part.ETag))
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top