Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for rack (0.13 sec)

  1. src/bufio/bufio.go

    	line, err = b.ReadSlice('\n')
    	if err == ErrBufferFull {
    		// Handle the case where "\r\n" straddles the buffer.
    		if len(line) > 0 && line[len(line)-1] == '\r' {
    			// Put the '\r' back on buf and drop it from line.
    			// Let the next call to ReadLine check for "\r\n".
    			if b.r == 0 {
    				// should be unreachable
    				panic("bufio: tried to rewind past start of buffer")
    			}
    			b.r--
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    // It returns (0, io.EOF) when it reaches the end of that file,
    // until [Next] is called to advance to the next file.
    //
    // If the current file is sparse, then the regions marked as a hole
    // are read back as NUL-bytes.
    //
    // Calling Read on special types like [TypeLink], [TypeSymlink], [TypeChar],
    // [TypeBlock], [TypeDir], and [TypeFifo] returns (0, [io.EOF]) regardless of what
    // the [Header.Size] claims.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. internal/config/config.go

    	}
    
    	name := env.Get(EnvSiteName, siteKV.Get(NameKey))
    	if name != "" {
    		if !validSiteNameRegex.MatchString(name) {
    			err = Errorf(
    				"site name '%s' is invalid, expected simple characters such as [cal-rack0, myname...]",
    				name)
    			return
    		}
    		s.Name = name
    	}
    	return
    }
    
    // CheckValidKeys - checks if inputs KVS has the necessary keys,
    // returns error if it find extra or superfluous keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. cmd/erasure-sets.go

    				continue
    			}
    
    			// An online-disk means its a valid disk but it may be a re-connected disk
    			// we verify that here based on LastConn(), however we make sure to avoid
    			// putting it back into the s.erasureDisks by re-placing the disk again.
    			_, setIndex, _ := cdisk.GetDiskLoc()
    			if setIndex != -1 {
    				continue
    			}
    		}
    		if cdisk != nil {
    			// Close previous offline disk.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  5. src/archive/tar/reader_test.go

    		err:  ErrHeader,
    	}, {
    		file: "testdata/issue11169.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/issue12435.tar",
    		err:  ErrHeader,
    	}, {
    		// Ensure that we can read back the original Header as written with
    		// a buggy pre-Go1.8 tar.Writer.
    		file: "testdata/invalid-go17.tar",
    		headers: []*Header{{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  6. cmd/bucket-listobjects-handlers.go

    		return
    	}
    
    	listObjectVersions := objectAPI.ListObjectVersions
    
    	// Initiate a list object versions operation based on the input params.
    	// On success would return back ListObjectsInfo object to be
    	// marshaled into S3 compatible XML header.
    	listObjectVersionsInfo, err := listObjectVersions(ctx, bucket, prefix, marker, versionIDMarker, delimiter, maxkeys)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    	n, err = C.sqrt(-1)
    	_, err := C.voidFunc()
    	var n, err = C.sqrt(1)
    
    Calling C function pointers is currently not supported, however you can
    declare Go variables which hold C function pointers and pass them
    back and forth between Go and C. C code may call function pointers
    received from Go. For example:
    
    	package main
    
    	// typedef int (*intFunc) ();
    	//
    	// int
    	// bridge_int_func(intFunc f)
    	// {
    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/erasure-metadata-utils.go

    		// check if erasure distribution order matches the index
    		// position if this is not correct we discard the disk
    		// and move to collect others
    		if distribution[i] != meta.Erasure.Index {
    			inconsistent++ // keep track of inconsistent entries
    			continue
    		}
    		shuffledDisks[meta.Erasure.Index-1] = disks[i]
    		shuffledPartsMetadata[meta.Erasure.Index-1] = metaArr[i]
    	}
    
    	// Inconsistent meta info is with in the limit of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. internal/logger/target/http/http.go

    	workers    int64
    	maxWorkers int64
    	// workerStartMu sync.Mutex
    	lastStarted time.Time
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    	// Reading logCh must hold read lock on logChMu (to avoid read race)
    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    	// If this webhook is being re-configured we will
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/ast.go

    func (f *File) ParseGo(abspath string, src []byte) {
    	// Two different parses: once with comments, once without.
    	// The printer is not good enough at printing comments in the
    	// right place when we start editing the AST behind its back,
    	// so we use ast1 to look for the doc comments on import "C"
    	// and on exported functions, and we use ast2 for translating
    	// and reprinting.
    	// In cgo mode, we ignore ast2 and just apply edits directly
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top