Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for memcpy (0.27 sec)

  1. cmd/notification.go

    	ctx := logger.SetReqInfo(GlobalContext, reqInfo)
    	peersLogOnceIf(ctx, err, "add-node-err-"+addr)
    	nodeInfo.SetAddr(addr)
    	nodeInfo.SetError(err.Error())
    }
    
    // GetSysErrors - Memory information
    func (sys *NotificationSys) GetSysErrors(ctx context.Context) []madmin.SysErrors {
    	reply := make([]madmin.SysErrors, len(sys.peerClients))
    
    	g := errgroup.WithNErrs(len(sys.peerClients))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    // making a copy of an array.
    //
    // This tells _cgoCheckPointer to check the complete contents of the
    // slice or array being indexed, but no other part of the memory allocation.
    func (p *Package) checkIndex(sb, sbCheck *bytes.Buffer, arg ast.Expr, i int) bool {
    	// Strip type conversions.
    	x := arg
    	for {
    		c, ok := x.(*ast.CallExpr)
    		if !ok || len(c.Args) != 1 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    	opReadRune2 readOp = 2  // Read rune of size 2.
    	opReadRune3 readOp = 3  // Read rune of size 3.
    	opReadRune4 readOp = 4  // Read rune of size 4.
    )
    
    // ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
    var ErrTooLarge = errors.New("bytes.Buffer: too large")
    var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
    
    const maxInt = int(^uint(0) >> 1)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    				return
    			}
    			return
    		}
    	}
    }
    
    // dummyFileInfo represents a dummy representation of a profile data file
    // present only in memory, it helps to generate the zip stream.
    type dummyFileInfo struct {
    	name    string
    	size    int64
    	mode    os.FileMode
    	modTime time.Time
    	isDir   bool
    	sys     interface{}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  5. cmd/server-main.go

    		Hidden: true,
    		EnvVar: "MINIO_CROSSDOMAIN_XML",
    	},
    	cli.StringFlag{
    		Name:   "memlimit",
    		Usage:  "set global memory limit per server via GOMEMLIMIT",
    		Hidden: true,
    		EnvVar: "MINIO_MEMLIMIT",
    	},
    	cli.IntFlag{
    		Name:   "send-buf-size",
    		Value:  4 * humanize.MiByte,
    		EnvVar: "MINIO_SEND_BUF_SIZE",
    		Hidden: true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (2)
  6. src/arena/arena.go

    This functionality in this package is mostly captured in the Arena type.
    Arenas allocate large chunks of memory for Go values, so they're likely to
    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    that use-after-free bugs are possible with regular Go values. This package
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    All Go pointers passed to C must point to pinned Go memory. Go pointers
    passed as function arguments to C functions have the memory they point to
    implicitly pinned for the duration of the call. Go memory reachable from
    these function arguments must be pinned as long as the C code has access
    to it. Whether Go memory is pinned is a dynamic property of that memory
    region; it has nothing to do with the type of the pointer.
    
    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)
  8. cmd/bucket-encryption.go

    package cmd
    
    import (
    	"errors"
    	"io"
    
    	sse "github.com/minio/minio/internal/bucket/encryption"
    )
    
    // BucketSSEConfigSys - in-memory cache of bucket encryption config
    type BucketSSEConfigSys struct{}
    
    // NewBucketSSEConfigSys - Creates an empty in-memory bucket encryption configuration cache
    func NewBucketSSEConfigSys() *BucketSSEConfigSys {
    	return &BucketSSEConfigSys{}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  9. cmd/site-replication-utils.go

    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // load resync metrics saved on disk into memory
    func (sm *siteResyncMetrics) load(ctx context.Context, objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    	info, err := globalSiteReplicationSys.GetClusterInfo(ctx)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.9K bytes
    - Viewed (1)
  10. cmd/iam-object-store.go

    		}
    
    	}
    	// Loading the STS policy mappings from disk ensures that stale entries
    	// (removed during loadUser() in the loop above) are removed from memory.
    	for _, item := range iamListing[policyDBSTSUsersListKey] {
    		stsName := strings.TrimSuffix(item, ".json")
    		err := iamOS.loadMappedPolicy(ctx, stsName, stsUser, false, stsAccPoliciesFromStore)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top