Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for Number (0.18 sec)

  1. src/cmd/asm/internal/lex/input.go

    	var args []string
    	// The C preprocessor treats
    	//	#define A(x)
    	// and
    	//	#define A (x)
    	// distinctly: the first is a macro with arguments, the second without.
    	// Distinguish these cases using the column number, since we don't
    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    	if tok == '(' && in.Stack.Col() == prevCol+1 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    // 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
    // and the next token to return to the user, if any, plus an error, if any.
    //
    // Scanning stops if the function returns an error, in which case some of
    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)
  3. src/archive/tar/reader_test.go

    			if err != v.err {
    				t.Fatalf("unexpected error: got %v, want %v", err, v.err)
    			}
    			f.Close()
    		})
    	}
    }
    
    func TestPartialRead(t *testing.T) {
    	type testCase struct {
    		cnt    int    // Number of bytes to read
    		output string // Expected value of string read
    	}
    	vectors := []struct {
    		file  string
    		cases []testCase
    	}{{
    		file: "testdata/gnu.tar",
    		cases: []testCase{
    			{4, "Kilt"},
    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)
  4. src/archive/zip/writer.go

    		b.uint16(zipVersion45)           // version needed to extract
    		b.uint32(0)                      // number of this disk
    		b.uint32(0)                      // number of the disk with the start of the central directory
    		b.uint64(records)                // total number of entries in the central directory on this disk
    		b.uint64(records)                // total number of entries in the central directory
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. 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,
    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)
  6. src/bufio/bufio.go

    func (b *Writer) AvailableBuffer() []byte {
    	return b.buf[b.n:][:0]
    }
    
    // Buffered returns the number of bytes that have been written into the current buffer.
    func (b *Writer) Buffered() int { return b.n }
    
    // Write writes the contents of p into the buffer.
    // It returns the number of bytes written.
    // If nn < len(p), it also returns an error explaining
    // why the write is short.
    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)
  7. src/cmd/cgo/gcc.go

    		// Probably a type conversion.
    		return "", false
    	}
    
    	params := name.FuncType.Params
    	args := call.Call.Args
    	end := call.Call.End()
    
    	// Avoid a crash if the number of arguments doesn't match
    	// the number of parameters.
    	// This will be caught when the generated file is compiled.
    	if len(args) != len(params) {
    		return "", false
    	}
    
    	any := false
    	for i, param := range params {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/archive/tar/reader.go

    	// Get number of entries.
    	// Use integer overflow resistant math to check this.
    	numEntriesStr := paxHdrs[paxGNUSparseNumBlocks]
    	numEntries, err := strconv.ParseInt(numEntriesStr, 10, 0) // Intentionally parse as native int
    	if err != nil || numEntries < 0 || int(2*numEntries) < int(numEntries) {
    		return nil, ErrHeader
    	}
    
    	// There should be two numbers in sparseMap for each entry.
    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. src/cmd/asm/doc.go

    	-V
    		Print assembler version and exit.
    	-debug
    		Dump instructions as they are parsed.
    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    		Write output to file. The default is foo.o for /a/b/c/foo.s.
    	-p pkgpath
    		Set expected package import to pkgpath.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm.s

    //		g = nullgen;
    //		g.Type = obj.TYPE_CONST;
    //		g.Offset = int64(
    //			(0xe << 24) |		/* opcode */
    //			($1 << 20) |		/* MCR/MRC */
    //			(($2^C_SCOND_XOR) << 28) |		/* scond */
    //			(($3 & 15) << 8) |	/* coprocessor number */
    //			(($5 & 7) << 21) |	/* coprocessor operation */
    //			(($7 & 15) << 12) |	/* arm register */
    //			(($9 & 15) << 16) |	/* Crn */
    //			(($11 & 15) << 0) |	/* Crm */
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Viewed (0)
Back to top