Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for sqlite (0.1 sec)

  1. src/database/sql/doc.txt

    Goals of the sql and sql/driver packages:
    
    * Provide a generic database API for a variety of SQL or SQL-like
      databases.  There currently exist Go libraries for SQLite, MySQL,
      and Postgres, but all with a very different feel, and often
      a non-Go-like feel.
    
    * Feel like Go.
    
    * Care mostly about the common cases. Common SQL should be portable.
      SQL edge cases or db-specific extensions can be detected and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 06:48:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/go/types/slice.go

    // Source: ../../cmd/compile/internal/types2/slice.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // A Slice represents a slice type.
    type Slice struct {
    	elem Type
    }
    
    // NewSlice returns a new slice type for the given element type.
    func NewSlice(elem Type) *Slice { return &Slice{elem: elem} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 701 bytes
    - Viewed (0)
  3. src/sort/slice.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package sort
    
    import (
    	"internal/reflectlite"
    	"math/bits"
    )
    
    // Slice sorts the slice x given the provided less function.
    // It panics if x is not a slice.
    //
    // The sort is not guaranteed to be stable: equal elements
    // may be reversed from their original order.
    // For a stable sort, use [SliceStable].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/net/splice_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"internal/poll"
    	"io"
    )
    
    var pollSplice = poll.Splice
    
    // spliceFrom transfers data from r to c using the splice system call to minimize
    // copies from and to userspace. c must be a TCP connection.
    // Currently, spliceFrom is only enabled if r is a TCP or a stream-oriented Unix connection.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/syscall/linkname_unix.go

    // mmap should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - modernc.org/memory
    //   - github.com/ncruces/go-sqlite3
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 532 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/stdlib.go

    	return ok
    }
    
    // SplitField splits the field symbol name into type and field
    // components. It must be called only on Field symbols.
    //
    // Example: "File.Package" -> ("File", "Package")
    func (sym *Symbol) SplitField() (typename, name string) {
    	if sym.Kind != Field {
    		panic("not a field")
    	}
    	typename, name, _ = strings.Cut(sym.Name, ".")
    	return
    }
    
    // SplitMethod splits the method symbol name into pointer, receiver,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/runtime/coro_test.go

    	} {
    		t.Run(test, func(t *testing.T) {
    			checkCoroTestProgOutput(t, runTestProg(t, "testprogcgo", test))
    		})
    	}
    }
    
    func checkCoroTestProgOutput(t *testing.T, output string) {
    	t.Helper()
    
    	c := strings.SplitN(output, "\n", 2)
    	if len(c) == 1 {
    		t.Fatalf("expected at least one complete line in the output, got:\n%s", output)
    	}
    	expect, ok := strings.CutPrefix(c[0], "expect: ")
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:36:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/internal/trace/raw/textreader.go

    }
    
    func readArg(s string) (arg string, value uint64, rest string, err error) {
    	var tok string
    	tok, rest = readToken(s)
    	if len(tok) == 0 {
    		return "", 0, s, fmt.Errorf("no argument")
    	}
    	parts := strings.SplitN(tok, "=", 2)
    	if len(parts) < 2 {
    		return "", 0, s, fmt.Errorf("malformed argument: %q", tok)
    	}
    	arg = parts[0]
    	value, err = strconv.ParseUint(parts[1], 10, 64)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/os/exec_windows.go

    	} else {
    		Args = commandLineToArgv(cmd)
    	}
    }
    
    // appendBSBytes appends n '\\' bytes to b and returns the resulting slice.
    func appendBSBytes(b []byte, n int) []byte {
    	for ; n > 0; n-- {
    		b = append(b, '\\')
    	}
    	return b
    }
    
    // readNextArg splits command line string cmd into next
    // argument and command line remainder.
    func readNextArg(cmd string) (arg []byte, rest string) {
    	var b []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue14636.go

    	cmd := exec.Command("go", "tool", "link", "-B", buildid)
    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		log.Fatalf("expected cmd/link to fail")
    	}
    
    	firstLine := string(bytes.SplitN(out, []byte("\n"), 2)[0])
    	if strings.HasPrefix(firstLine, "panic") {
    		log.Fatalf("cmd/link panicked:\n%s", out)
    	}
    
    	if !strings.Contains(firstLine, message) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top