Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for sqlite (0.12 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/runtime/slice.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"runtime/internal/math"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    type slice struct {
    	array unsafe.Pointer
    	len   int
    	cap   int
    }
    
    // A notInHeapSlice is a slice backed by runtime/internal/sys.NotInHeap memory.
    type notInHeapSlice struct {
    	array *notInHeap
    	len   int
    	cap   int
    }
    
    func panicmakeslicelen() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/net/splice_linux_test.go

    	clientDown, serverDown := spawnTestSocketPair(t, "tcp")
    	defer clientDown.Close()
    	defer serverDown.Close()
    	// If splice called poll.Splice here, we'd get err == syscall.EINVAL
    	// and handled == false.  If poll.Splice gets an EINVAL on the first
    	// try, it assumes the kernel it's running on doesn't support splice
    	// for unix sockets and returns handled == false. This works for our
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/asm/internal/lex/slice.go

    	"cmd/internal/src"
    )
    
    // A Slice reads from a slice of Tokens.
    type Slice struct {
    	tokens []Token
    	base   *src.PosBase
    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    func (s *Slice) Next() ScanToken {
    	s.pos++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

        hiliter: (n, on) => { return hilite(n, on); },
        current: () => {
          let r = new Map();
          if (pivots.length == 1 && pivots[0] == 0) {
            // Not pivoting
          } else {
            for (let p of pivots) {
              r.set(p, true);
            }
          }
          return r;
        }});
    
      render();
    
      // Helper functions follow:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top