Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for translation (0.2 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. 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  4. tests/transaction_test.go

    		tx3 := DB.Session(&gorm.Session{PrepareStmt: true})
    		if err := tx3.Transaction(func(tx4 *gorm.DB) error {
    			// nested transaction
    			return tx4.Transaction(func(tx5 *gorm.DB) error {
    				return tx5.First(&User{}, "name = ?", "transaction-2").Error
    			})
    		}); err != nil {
    			t.Fatalf("prepare statement and nested transcation coexist" + err.Error())
    		}
    	})
    }
    
    func TestCancelTransaction(t *testing.T) {
    	ctx := context.Background()
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    distinguish functions from global variables.) Cgo reads the constant
    values from the __cgodebug_* from the object file's data segment.
    
    At this point cgo knows the meaning of each C.xxx well enough to start
    the translation process.
    
    Translating Go
    
    Given the input Go files x.go and y.go, cgo generates these source
    files:
    
    	x.cgo1.go       # for gc (cmd/compile)
    	y.cgo1.go       # for gc
    	_cgo_gotypes.go # for gc
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/transition_test.go

    		err   error
    	}{
    		{
    			input: `<Transition>
    			<Days>0</Days>
    			<StorageClass>S3TIER-1</StorageClass>
    		  </Transition>`,
    			err: nil,
    		},
    		{
    			input: `<Transition>
    			<Days>1</Days>
    			<Date>2021-01-01T00:00:00Z</Date>
    			<StorageClass>S3TIER-1</StorageClass>
    		  </Transition>`,
    			err: errTransitionInvalid,
    		},
    		{
    			input: `<Transition>
    			<Days>1</Days>
    		  </Transition>`,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Oct 01 18:58:17 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    }
    
    // ExpectedExpiryTime calculates the expiry, transition or restore date/time based on a object modtime.
    // The expected transition or restore time is always a midnight time following the object
    // modification time plus the number of transition/restore days.
    //
    //	e.g. If the object modtime is `Thu May 21 13:42:50 GMT 2020` and the object should
    //	    transition in 1 day, then the expected transition time is `Fri, 23 May 2020 00:00:00 GMT`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. internal/config/errors.go

    		"Invalid value for replication workers",
    		"",
    		"MINIO_API_REPLICATION_WORKERS: should be > 0",
    	)
    
    	ErrInvalidTransitionWorkersValue = newErrFn(
    		"Invalid value for transition workers",
    		"",
    		"MINIO_API_TRANSITION_WORKERS: should be >= GOMAXPROCS/2",
    	)
    	ErrInvalidBatchKeyRotationWorkersWait = newErrFn(
    		"Invalid value for batch key rotation workers wait",
    		"Please input a non-negative duration",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    	DeleteReplication   ReplicationState    // Represents internal replication state needed for Delete replication
    	Transition          TransitionOptions
    	Expiration          ExpirationOptions
    	LifecycleAuditEvent lcAuditEvent
    
    	WantChecksum *hash.Checksum // x-amz-checksum-XXX checksum sent to PutObject/ CompleteMultipartUpload.
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	}
    
    	return evalDisks(disks, errs), err
    }
    
    // PutObjectPart - reads incoming stream and internally erasure codes
    // them. This call is similar to single put operation but it is part
    // of the multipart transaction.
    //
    // Implements S3 compatible Upload Part API.
    func (er erasureObjects) PutObjectPart(ctx context.Context, bucket, object, uploadID string, partID int, r *PutObjReader, opts ObjectOptions) (pi PartInfo, err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top