Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for Wright (0.24 sec)

  1. internal/s3select/sql/evaluate.go

    	lval, lerr := e.Left.evalNode(r, tableAlias)
    	if lerr != nil || len(e.Right) == 0 {
    		return lval, lerr
    	}
    
    	// Process remaining child nodes - result must be
    	// numeric. This AST node is for terms separated by + or -
    	// symbols.
    	for _, rightTerm := range e.Right {
    		op := rightTerm.Op
    		rval, rerr := rightTerm.Right.evalNode(r, tableAlias)
    		if rerr != nil {
    			return nil, rerr
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    // terms separated by +/-
    type Operand struct {
    	Left  *MultOp     `parser:"@@"`
    	Right []*OpFactor `parser:"(@@)*"`
    }
    
    // OpFactor represents the right-side of a +/- operation.
    type OpFactor struct {
    	Op    string  `parser:"@(\"+\" | \"-\")"`
    	Right *MultOp `parser:"@@"`
    }
    
    // MultOp represents a single term followed by an optional sequence of
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    // then writeTo uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are filled with NULs.
    // This always writes the last byte to ensure w is the right size.
    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    // See https://golang.org/issue/22735
    func (tr *Reader) writeTo(w io.Writer) (int64, error) {
    	if tr.err != nil {
    		return 0, tr.err
    	}
    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)
  4. src/cmd/cgo/internal/test/issue29563/weak.go

    // Copyright 2019 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 issue29563
    
    //int foo1();
    //int foo2();
    import "C"
    
    func Bar() int {
    	return int(C.foo1()) + int(C.foo2())
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 277 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue27340.go

    // Copyright 2018 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.
    
    //go:build cgo
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue27340"
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 377 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue23555.go

    // Copyright 2018 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.
    
    //go:build cgo
    
    // Test that we can have two identical cgo packages in a single binary.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import (
    	_ "cmd/cgo/internal/test/issue23555a"
    	_ "cmd/cgo/internal/test/issue23555b"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 403 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue24161res/restype.go

    // Copyright 2018 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.
    
    //go:build darwin
    
    package issue24161res
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"reflect"
    	"testing"
    )
    
    func Test(t *testing.T) {
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 486 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callstub_linux_ppc64le.go

    // Copyright 2023 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 cgotest
    
    // extern int notoc_func(void);
    // int TestPPC64Stubs(void) {
    //	return notoc_func();
    // }
    import "C"
    import "testing"
    
    func testPPC64CallStubs(t *testing.T) {
    	// Verify the trampolines run on the testing machine. If they
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 22 15:06:17 GMT 2023
    - 540 bytes
    - Viewed (0)
  9. cmd/object-handlers-common.go

    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // isETagEqual return true if the canonical representations of two ETag strings
    // are equal, false otherwise
    func isETagEqual(left, right string) bool {
    	return canonicalizeETag(left) == canonicalizeETag(right)
    }
    
    // setPutObjHeaders sets all the necessary headers returned back
    // upon a success Put/Copy/CompleteMultipart/Delete requests
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. misc/cgo/gmp/pi.go

    // Copyright 2009 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.
    
    //go:build ignore
    
    package main
    
    import (
    	big "."
    	"fmt"
    	"runtime"
    )
    
    var (
    	tmp1  = big.NewInt(0)
    	tmp2  = big.NewInt(0)
    	numer = big.NewInt(1)
    	accum = big.NewInt(0)
    	denom = big.NewInt(1)
    	ten   = big.NewInt(10)
    )
    
    func extractDigit() int64 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top