Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Zach (0.16 sec)

  1. internal/s3select/simdj/reader.go

    		close(r.exitReader)
    		r.readerWg.Wait()
    		r.exitReader = nil
    		r.input = nil
    	}
    	return nil
    }
    
    // startReader will start a reader that accepts input from r.input.
    // Input should be root -> object input. Each root indicates a record.
    // If r.input is closed, it is assumed that no more input will come.
    // When this function returns r.readerWg will be decremented and r.decoded will be closed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    	if err != nil || numEntries < 0 || int(2*numEntries) < int(numEntries) {
    		return nil, ErrHeader
    	}
    
    	// There should be two numbers in sparseMap for each entry.
    	sparseMap := strings.Split(paxHdrs[paxGNUSparseMap], ",")
    	if len(sparseMap) == 1 && sparseMap[0] == "" {
    		sparseMap = sparseMap[:0]
    	}
    	if int64(len(sparseMap)) != 2*numEntries {
    		return nil, ErrHeader
    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/s3select/csv/reader.go

    			return dst, io.EOF
    		}
    	}
    	// Read until next line.
    	in, err := r.buf.ReadBytes('\n')
    	dst = append(dst, in...)
    	return dst, err
    }
    
    // csvSplitSize is the size of each block.
    // Blocks will read this much and find the first following newline.
    // 128KB appears to be a very reasonable default.
    const csvSplitSize = 128 << 10
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    	// safe to preallocate r.File without first checking that the specified
    	// number of files is reasonable, since a malformed archive may
    	// indicate it contains up to 1 << 128 - 1 files. Since each file has a
    	// header which will be _at least_ 30 bytes we can safely preallocate
    	// if (data size / 30) >= end.directoryRecords.
    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)
Back to top