Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 126 for end (0.13 sec)

  1. src/bufio/bufio.go

    // never both.
    //
    // The text returned from ReadLine does not include the line end ("\r\n" or "\n").
    // No indication or error is given if the input ends without a final line end.
    // Calling [Reader.UnreadByte] after ReadLine will always unread the last byte read
    // (possibly a character belonging to the line end) even if that byte is not
    // part of the line returned by ReadLine.
    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. docs/debugging/healing-bin/main.go

    	app.CustomAppHelpTemplate = `NAME:
      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    func (b *Buffer) readSlice(delim byte) (line []byte, err error) {
    	i := IndexByte(b.buf[b.off:], delim)
    	end := b.off + i + 1
    	if i < 0 {
    		end = len(b.buf)
    		err = io.EOF
    	}
    	line = b.buf[b.off:end]
    	b.off = end
    	b.lastRead = opRead
    	return line, err
    }
    
    // ReadString reads until the first occurrence of delim in the input,
    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/object-handlers.go

    		return
    	}
    
    	objectRSC := s3select.NewObjectReadSeekCloser(
    		func(offset int64) (io.ReadCloser, error) {
    			rs := &HTTPRangeSpec{
    				IsSuffixLength: false,
    				Start:          offset,
    				End:            -1,
    			}
    			opts.NoLock = true
    			return getObjectNInfo(ctx, bucket, object, rs, r.Header, opts)
    		},
    		actualSize,
    	)
    	defer objectRSC.Close()
    	s3Select, err := s3select.NewS3Select(r.Body)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  5. cmd/metacache-stream.go

    		}
    	}
    }
    
    // readN will return all the requested number of entries in order
    // or all if n < 0.
    // Will return io.EOF if end of stream is reached.
    // If requesting 0 objects nil error will always be returned regardless of at end of stream.
    // Use peek to determine if at end of stream.
    func (r *metacacheReader) readN(n int, inclDeleted, inclDirs, inclVersions bool, prefix string) (metaCacheEntriesSorted, error) {
    	r.checkInit()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  6. internal/bucket/versioning/versioning.go

    	if prefix == "" {
    		return true
    	}
    	if v.ExcludeFolders && strings.HasSuffix(prefix, "/") {
    		return false
    	}
    
    	for _, sprefix := range v.ExcludedPrefixes {
    		// Note: all excluded prefix patterns end with `/` (See Validate)
    		sprefix.Prefix += "*"
    
    		if matched := wildcard.MatchSimple(sprefix.Prefix, prefix); matched {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAdminResourceInvalidArgument: {
    		Code:           "XMinioInvalidResource",
    		Description:    "Policy, user or group names are not allowed to begin or end with space characters",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminAccountNotEligible: {
    		Code:           "XMinioInvalidIAMCredentials",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. src/archive/tar/reader.go

    }
    
    // Next advances to the next entry in the tar archive.
    // The Header.Size determines how many bytes can be read for the next file.
    // Any remaining data in the current file is automatically discarded.
    // At the end of the archive, Next returns the error io.EOF.
    //
    // If Next encounters a non-local name (as defined by [filepath.IsLocal])
    // and the GODEBUG environment variable contains `tarinsecurepath=0`,
    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)
  9. cmd/bucket-policy-handlers_test.go

    func TestPutBucketPolicyHandler(t *testing.T) {
    	ExecObjectLayerAPITest(t, testPutBucketPolicyHandler, []string{"PutBucketPolicy"})
    }
    
    // testPutBucketPolicyHandler - Test for Bucket policy end point.
    func testPutBucketPolicyHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	bucketName1 := fmt.Sprintf("%s-1", bucketName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  10. cmd/httprange.go

    		}
    
    	case h.Start >= resourceSize:
    		return 0, InvalidRange{
    			OffsetBegin:  h.Start,
    			OffsetEnd:    h.End,
    			ResourceSize: resourceSize,
    		}
    
    	case h.End > -1:
    		end := h.End
    		if resourceSize <= end {
    			end = resourceSize - 1
    		}
    		rangeLength = end - h.Start + 1
    
    	case h.End == -1:
    		rangeLength = resourceSize - h.Start
    
    	default:
    		return 0, errors.New("Unexpected range specification case")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top