Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for enid (0.13 sec)

  1. src/bufio/scan.go

    		if s.err != nil {
    			// Shut it down.
    			s.start = 0
    			s.end = 0
    			return false
    		}
    		// Must read more data.
    		// First, shift data to beginning of buffer if there's lots of empty space
    		// or space is needed.
    		if s.start > 0 && (s.end == len(s.buf) || s.start > len(s.buf)/2) {
    			copy(s.buf, s.buf[s.start:s.end])
    			s.end -= s.start
    			s.start = 0
    		}
    		// Is the buffer full? If so, resize.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	// if (data size / 30) >= end.directoryRecords.
    	if end.directorySize < uint64(size) && (uint64(size)-end.directorySize)/30 >= end.directoryRecords {
    		r.File = make([]*File, 0, end.directoryRecords)
    	}
    	r.Comment = end.comment
    	rs := io.NewSectionReader(rdr, 0, size)
    	if _, err = rs.Seek(r.baseOffset+int64(end.directoryOffset), io.SeekStart); err != nil {
    		return err
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. cmd/metacache_gen.go

    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "end":
    			z.ended, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "ended")
    				return
    			}
    		case "st":
    			z.started, err = dc.ReadTime()
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 08 18:26:08 GMT 2021
    - 10K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    	if oi.Size == 0 || len(oi.Parts) == 0 {
    		return nil
    	}
    
    	var start int64
    	end := int64(-1)
    	for i := 0; i < len(oi.Parts) && i < partNumber; i++ {
    		start = end + 1
    		end = start + oi.Parts[i].ActualSize - 1
    	}
    
    	return &HTTPRangeSpec{Start: start, End: end}
    }
    
    // Returns the compressed offset which should be skipped.
    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)
  5. cmd/sftp-server.go

    }
    
    // supportedMACs specifies a default set of MAC algorithms in preference order.
    // This is based on RFC 4253, section 6.4, but with hmac-md5 variants removed
    // because they have reached the end of their useful life.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=85
    var supportedMACs = []string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes.go

    type StorageInfo = madmin.StorageInfo
    
    // objectHistogramInterval is an interval that will be
    // used to report the histogram of objects data sizes
    type objectHistogramInterval struct {
    	name       string
    	start, end int64
    }
    
    const (
    	// dataUsageBucketLenV1 must be length of ObjectsHistogramIntervalsV1
    	dataUsageBucketLenV1 = 7
    	// dataUsageBucketLen must be length of ObjectsHistogramIntervals
    	dataUsageBucketLen  = 11
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  7. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/idp/ldap/policy/{operation}").HandlerFunc(adminMiddleware(adminAPI.AttachDetachPolicyLDAP))
    		// -- END IAM APIs --
    
    		// GetBucketQuotaConfig
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/get-bucket-quota").HandlerFunc(
    			adminMiddleware(adminAPI.GetBucketQuotaConfigHandler)).Queries("bucket", "{bucket:.*}")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. internal/grid/handlers.go

    	responses *Stream
    	newResp   func() Resp
    
    	// Requests sent to the server.
    	// If the handler is defined with 0 incoming capacity this will be nil.
    	// Channel *must* be closed to signal the end of the stream.
    	// If the request context is canceled, the stream will no longer process requests.
    	Requests chan<- Req
    }
    
    // Results returns the results from the remote server one by one.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"internal/buildcfg"
    	"os"
    	"path/filepath"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    // Output is generated by, in effect, turning on -S and comparing the
    // result against a golden file.
    
    func testEndToEnd(t *testing.T, goarch, file string) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. cmd/post-policy_test.go

    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	// Register the API end points with Erasure/FS object layer.
    	apiRouter := initTestAPIEndPoints(obj, []string{"PostPolicy"})
    
    	credentials := globalActiveCred
    	bucketName := minioMetaBucket
    	objectName := "config/x"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top