Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for remaining (0.3 sec)

  1. src/bufio/scan.go

    	done         bool      // Scan has finished.
    }
    
    // SplitFunc is the signature of the split function used to tokenize the
    // input. The arguments are an initial substring of the remaining unprocessed
    // data and a flag, atEOF, that reports whether the [Reader] has no more data
    // to give. The return values are the number of bytes to advance the input
    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/tar/writer.go

    	if err != nil && err != ErrWriteTooLong {
    		tw.err = err
    	}
    	return n, err
    }
    
    // readFrom populates the content of the current file by reading from r.
    // The bytes read must match the number of remaining bytes in the current file.
    //
    // If the current file is sparse and r is an io.ReadSeeker,
    // then readFrom uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are all NULs.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	}
    	pre.Length = size - pre.Offset // Possibly the only empty fragment
    	return append(dst, pre)
    }
    
    // fileState tracks the number of logical (includes sparse holes) and physical
    // (actual in tar archive) bytes remaining for the current file.
    //
    // Invariant: logicalRemaining >= physicalRemaining
    type fileState interface {
    	logicalRemaining() int64
    	physicalRemaining() int64
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. doc/godebug.md

    (discussed below).
    
    When preparing any change that is permitted by Go 1 compatibility
    but may nonetheless break some existing programs,
    we first engineer the change to keep as many existing programs working as possible.
    For the remaining programs,
    we define a new GODEBUG setting that
    allows individual programs to opt back in to the old behavior.
    A GODEBUG setting may not be added if doing so is infeasible,
    but that should be extremely rare.
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    		b.WriteString("abc")
    		tw.check(t, "", "")
    		b.WriteString("123456789012345")      // long string, non-empty buffer
    		tw.check(t, "abc12345", "6789012345") // use Write and then WriteString since the remaining part is still longer than BufSize
    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.Write([]byte("abc")) // same as above, but use Write instead of WriteString
    		tw.check(t, "", "")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    		return
    	case "GLOBL", "PCDATA":
    		// No text definitions or symbol references.
    	case "DATA", "FUNCDATA":
    		// For DATA, operands[0] is defined symbol.
    		// For FUNCDATA, operands[0] is an immediate constant.
    		// Remaining operands may have references.
    		if len(operands) < 2 {
    			return
    		}
    		operands = operands[1:]
    	}
    	// Search for symbol references.
    	for _, op := range operands {
    		p.start(op)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    	return &Reader{r: r, curr: &regFileReader{r, 0}}
    }
    
    // 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])
    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)
  8. doc/asm.html

    </li>
    <li>
    <code>NOSPLIT</code> = 4
    <br>
    (For <code>TEXT</code> items.)
    Don't insert the preamble to check if the stack must be split.
    The frame for the routine, plus anything it calls, must fit in the
    spare space remaining in the current stack segment.
    Used to protect routines such as the stack splitting code itself.
    </li>
    <li>
    <code>RODATA</code> = 8
    <br>
    (For <code>DATA</code> and <code>GLOBL</code> items.)
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    	start := 0
    	for ; start < len(s); start++ {
    		c := s[start]
    		if c >= utf8.RuneSelf {
    			// If we run into a non-ASCII byte, fall back to the
    			// slower unicode-aware method on the remaining bytes
    			return TrimFunc(s[start:], unicode.IsSpace)
    		}
    		if asciiSpace[c] == 0 {
    			break
    		}
    	}
    
    	// Now look for the first ASCII non-space byte from the end
    	stop := len(s)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    			drop = 2
    		}
    		line = line[:len(line)-drop]
    	}
    	return
    }
    
    // collectFragments reads until the first occurrence of delim in the input. It
    // returns (slice of full buffers, remaining bytes before delim, total number
    // of bytes in the combined first two elements, error).
    // The complete result is equal to
    // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a
    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)
Back to top