Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for decoder (0.47 sec)

  1. misc/wasm/wasm_exec.js

    	if (!globalThis.fs) {
    		let outputBuf = "";
    		globalThis.fs = {
    			constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 }, // unused
    			writeSync(fd, buf) {
    				outputBuf += decoder.decode(buf);
    				const nl = outputBuf.lastIndexOf("\n");
    				if (nl != -1) {
    					console.log(outputBuf.substring(0, nl));
    					outputBuf = outputBuf.substring(nl + 1);
    				}
    				return buf.length;
    			},
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  2. src/cmd/cgo/doc.go

    The line number specifies the name involved. In the example, 1 is foo.
    
    Next, cgo must learn the details of each type, variable, function, or
    constant. It can do this by reading object files. If cgo has decided
    that t1 is a type, v2 and v3 are variables or functions, and i4, i5
    are integer constants, u6 is an unsigned integer constant, and f7 and f8
    are float constants, and s9 and s10 are string constants, it generates:
    
    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)
  3. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VGATHERQPD (DX)(Z23*1),K1,Z15 // 6272fd41933c3a
    	// EVEX: VCVTPD2DQ with Y suffix (VL=2).
    	VCVTPD2DQY (BX), X20  // 62e1ff28e623
    	VCVTPD2DQY (R11), X30 // 6241ff28e633
    	// XED encoder uses EVEX.X=0 for these; most x86 tools use EVEX.X=1.
    	// Either way is OK.
    	VMOVQ SP, X20  // 62e1fd086ee4 or 62a1fd086ee4
    	VMOVQ BP, X20  // 62e1fd086ee5 or 62a1fd086ee5
    	VMOVQ R14, X20 // 62c1fd086ee6 or 6281fd086ee6
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    	}
    
    	// Fast path 2: Correct UTF-8 decode without error.
    	_, width := utf8.DecodeRune(data)
    	if width > 1 {
    		// It's a valid encoding. Width cannot be one for a correctly encoded
    		// non-ASCII rune.
    		return width, data[0:width], nil
    	}
    
    	// We know it's an error: we have width==1 and implicitly r==utf8.RuneError.
    	// Is the error because there wasn't a full rune to be decoded?
    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)
  5. api/go1.14.txt

    pkg debug/dwarf, method (*Reader) ByteOrder() binary.ByteOrder
    pkg encoding/asn1, const TagBMPString = 30
    pkg encoding/asn1, const TagBMPString ideal-int
    pkg encoding/json, method (*Decoder) InputOffset() int64
    pkg go/build, type Context struct, Dir string
    pkg go/doc, func NewFromFiles(*token.FileSet, []*ast.File, string, ...interface{}) (*Package, error)
    pkg go/doc, type Example struct, Suffix string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  6. api/go1.19.txt

    pkg encoding/binary, type AppendByteOrder interface, String() string #50601
    pkg encoding/csv, method (*Reader) InputOffset() int64 #43401
    pkg encoding/xml, method (*Decoder) InputPos() (int, int) #45628
    pkg flag, func TextVar(encoding.TextUnmarshaler, string, encoding.TextMarshaler, string) #45754
    pkg flag, method (*FlagSet) TextVar(encoding.TextUnmarshaler, string, encoding.TextMarshaler, string) #45754
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  7. api/go1.9.txt

    pkg hash/fnv, func New128() hash.Hash
    pkg hash/fnv, func New128a() hash.Hash
    pkg html/template, const ErrPredefinedEscaper = 11
    pkg html/template, const ErrPredefinedEscaper ErrorCode
    pkg image/png, type Encoder struct, BufferPool EncoderBufferPool
    pkg image/png, type EncoderBuffer struct
    pkg image/png, type EncoderBufferPool interface { Get, Put }
    pkg image/png, type EncoderBufferPool interface, Get() *EncoderBuffer
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  8. src/builtin/builtin.go

    // call of panic. If recover is called outside the deferred function it will
    // not stop a panicking sequence. In this case, or when the goroutine is not
    // panicking, recover returns nil.
    //
    // Prior to Go 1.21, recover would also return nil if panic is called with
    // a nil argument. See [panic] for details.
    func recover() any
    
    // The print built-in function formats its arguments in an
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    		}
    	}
    }
    
    func TestBufferGrowNegative(t *testing.T) {
    	defer func() {
    		if err := recover(); err == nil {
    			t.Fatal("Grow(-1) should have panicked")
    		}
    	}()
    	var b Buffer
    	b.Grow(-1)
    }
    
    func TestBufferTruncateNegative(t *testing.T) {
    	defer func() {
    		if err := recover(); err == nil {
    			t.Fatal("Truncate(-1) should have panicked")
    		}
    	}()
    	var b Buffer
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/1-time.md

    making it difficult to use `Reset` and `Stop` correctly.
    A visible effect of this change is that `len` and `cap` of timer channels
    now returns 0 instead of 1, which may affect programs that
    poll the length to decide whether a receive on the timer channel
    will succeed.
    Such code should use a non-blocking receive instead.
    
    These new behaviors are only enabled when the main Go program
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top