Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 419 for Int64N (0.07 sec)

  1. tests/update_test.go

    		t.Errorf("user's name should not be updated")
    	}
    }
    
    func TestUpdatesTableWithIgnoredValues(t *testing.T) {
    	type ElementWithIgnoredField struct {
    		Id           int64
    		Value        string
    		IgnoredField int64 `gorm:"-"`
    	}
    	DB.Migrator().DropTable(&ElementWithIgnoredField{})
    	DB.AutoMigrate(&ElementWithIgnoredField{})
    
    	elem := ElementWithIgnoredField{Value: "foo", IgnoredField: 10}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    			Nonce:        &nonce,
    		})
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		reader = etag.Wrap(encReader, reader)
    
    		wantSize := int64(-1)
    		if length >= 0 {
    			info := ObjectInfo{Size: length}
    			wantSize = info.EncryptedSize()
    		}
    
    		srcInfo.Reader, err = hash.NewReader(ctx, reader, wantSize, "", "", actualPartSize)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. association.go

    			}
    		}
    	}
    
    	return association.Error
    }
    
    func (association *Association) Clear() error {
    	return association.Replace()
    }
    
    func (association *Association) Count() (count int64) {
    	if association.Error == nil {
    		association.Error = association.buildCondition().Count(&count).Error
    	}
    	return
    }
    
    type assignBack struct {
    	Source reflect.Value
    	Index  int
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. internal/grid/muxclient.go

    	"github.com/zeebo/xxh3"
    )
    
    // muxClient is a stateful connection to a remote.
    type muxClient struct {
    	MuxID              uint64
    	SendSeq, RecvSeq   uint32
    	LastPong           int64
    	BaseFlags          Flags
    	ctx                context.Context
    	cancelFn           context.CancelCauseFunc
    	parent             *Connection
    	respWait           chan<- Response
    	respMu             sync.Mutex
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. cmd/metrics-v3-types.go

    			m.Set(name, metric.Value, labels...)
    		}
    	}
    }
    
    // SetHistogramValues - sets values for the given MetricName using the provided map of
    // range to value.
    func SetHistogramValues[V uint64 | int64 | float64](m MetricValues, name MetricName, values map[string]V, labels ...string) {
    	for rng, val := range values {
    		m.Set(name, float64(val), append(labels, rangeL, rng)...)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. src/bytes/example_test.go

    	os.Stdout.Write(buf.Bytes())
    	// Output: hello world
    }
    
    func ExampleBuffer_AvailableBuffer() {
    	var buf bytes.Buffer
    	for i := 0; i < 4; i++ {
    		b := buf.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		b = append(b, ' ')
    		buf.Write(b)
    	}
    	os.Stdout.Write(buf.Bytes())
    	// Output: 0 1 2 3
    }
    
    func ExampleBuffer_Cap() {
    	buf1 := bytes.NewBuffer(make([]byte, 10))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. api/go1.4.txt

    pkg debug/dwarf, method (*UnspecifiedType) Basic() *BasicType
    pkg debug/dwarf, method (*UnspecifiedType) Common() *CommonType
    pkg debug/dwarf, method (*UnspecifiedType) Size() int64
    pkg debug/dwarf, method (*UnspecifiedType) String() string
    pkg debug/dwarf, type UnspecifiedType struct
    pkg debug/dwarf, type UnspecifiedType struct, embedded BasicType
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    		}
    		if len(files) > 1 || strings.HasSuffix(files[0], ".zip") {
    			ndjson = true
    		}
    
    		toPrint := make([]string, 0, 16)
    		for _, file := range files {
    			var r io.Reader
    			var sz int64
    			switch file {
    			case "-":
    				r = os.Stdin
    			default:
    				f, err := os.Open(file)
    				if err != nil {
    					return err
    				}
    				if st, err := f.Stat(); err == nil {
    					sz = st.Size()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	}
    
    	actualSize, err := objInfo.GetActualSize()
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	objectRSC := s3select.NewObjectReadSeekCloser(
    		func(offset int64) (io.ReadCloser, error) {
    			rs := &HTTPRangeSpec{
    				IsSuffixLength: false,
    				Start:          offset,
    				End:            -1,
    			}
    			opts.NoLock = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  10. cmd/bucket-replication-handlers.go

    				ReplicationValidityCheck: true, // set this to validate the replication config
    			},
    		}
    		obj := path.Join(minioReservedBucket, globalLocalNodeNameHex, "deleteme")
    		ui, err := c.PutObject(ctx, clnt.Bucket, obj, reader, int64(len(buf)), "", "", putOpts)
    		if err != nil && !isReplicationPermissionCheck(ErrorRespToObjectError(err, bucket, obj)) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top