Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Kata (0.22 sec)

  1. src/cmd/cgo/internal/test/callback_c.c

    // license that can be found in the LICENSE file.
    
    #include <string.h>
    
    #include "_cgo_export.h"
    
    void
    callback(void *f)
    {
    	// use some stack space
    	volatile char data[64*1024];
    
    	data[0] = 0;
    	goCallback(f);
            data[sizeof(data)-1] = 0;
    }
    
    void
    callGoFoo(void)
    {
    	extern void goFoo(void);
    	goFoo();
    }
    
    void
    IntoC(void)
    {
    	BackIntoGo();
    }
    
    void
    Issue1560InC(void)
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    	const longName = "././@LongLink"
    	if len(hdr.Name) > nameSize {
    		data := hdr.Name + "\x00"
    		if err := tw.writeRawFile(longName, data, TypeGNULongName, FormatGNU); err != nil {
    			return err
    		}
    	}
    	if len(hdr.Linkname) > nameSize {
    		data := hdr.Linkname + "\x00"
    		if err := tw.writeRawFile(longName, data, TypeGNULongLink, FormatGNU); err != nil {
    			return err
    		}
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. lib/time/README

    The zoneinfo.zip archive contains time zone files compiled using
    the code and data maintained as part of the IANA Time Zone Database.
    The IANA asserts that the database is in the public domain.
    
    For more information, see
    https://www.iana.org/time-zones
    ftp://ftp.iana.org/tz/code/tz-link.html
    https://datatracker.ietf.org/doc/html/rfc6557
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Aug 15 02:18:46 GMT 2021
    - 390 bytes
    - Viewed (0)
  4. api/README

    Files in this directory are data for Go's API checker ("go tool api", in src/cmd/api).
    
    Each file is a list of API features, one per line.
    
    go1.txt (and similarly named files) are frozen once a version has been
    shipped. Each file adds new lines but does not remove any.
    
    except.txt lists features that may disappear without breaking true
    compatibility.
    
    Starting with go1.19.txt, each API feature line must end in "#nnnnn"
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 31 19:22:50 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/bytes/reader_test.go

    		}
    		if r.Len() != 0 {
    			t.Errorf("reader contains %v bytes; want 0", r.Len())
    		}
    	}
    }
    
    func TestReaderLen(t *testing.T) {
    	const data = "hello world"
    	r := NewReader([]byte(data))
    	if got, want := r.Len(), 11; got != want {
    		t.Errorf("r.Len(): got %d, want %d", got, want)
    	}
    	if n, err := r.Read(make([]byte, 10)); err != nil || n != 10 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    			if name, abi, ok := p.funcAddress(); ok {
    				fmt.Fprintf(w, "def %s %s\n", name, abi)
    			}
    		}
    		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:]
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/archive/zip/zip_test.go

    		t.Parallel()
    		if !generatesZip64(t, gen(0xffff)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    // suffixSaver is an io.Writer & io.ReaderAt that remembers the last 0
    // to 'keep' bytes of data written to it. Call Suffix to get the
    // suffix bytes.
    type suffixSaver struct {
    	keep  int
    	buf   []byte
    	start int
    	size  int64
    }
    
    func (ss *suffixSaver) Size() int64 { return ss.size }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. doc/go_spec.html

    "for" statement, and that is the one whose execution
    advances.
    </p>
    
    <pre>
    RowLoop:
    	for y, row := range rows {
    		for x, data := range row {
    			if data == endOfRow {
    				continue RowLoop
    			}
    			row[x] = data + bias(x, y)
    		}
    	}
    </pre>
    
    <h3 id="Goto_statements">Goto statements</h3>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg syscall (linux-386), type TCPInfo struct, Last_ack_recv uint32
    pkg syscall (linux-386), type TCPInfo struct, Last_ack_sent uint32
    pkg syscall (linux-386), type TCPInfo struct, Last_data_recv uint32
    pkg syscall (linux-386), type TCPInfo struct, Last_data_sent uint32
    pkg syscall (linux-386), type TCPInfo struct, Lost uint32
    pkg syscall (linux-386), type TCPInfo struct, Options uint8
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  10. src/bufio/scan.go

    	// an incorrectly encoded string.
    	return 1, errorRune, nil
    }
    
    // dropCR drops a terminal \r from the data.
    func dropCR(data []byte) []byte {
    	if len(data) > 0 && data[len(data)-1] == '\r' {
    		return data[0 : len(data)-1]
    	}
    	return data
    }
    
    // ScanLines is a split function for a [Scanner] that returns each line of
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
Back to top