Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 194 for esbuild (0.17 sec)

  1. src/cmd/cgo/internal/test/issue24161e2/main.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 issue24161e2
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (1)
  2. misc/cgo/gmp/fib.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
    
    // Compute Fibonacci numbers with two goroutines
    // that pass integers back and forth.  No actual
    // concurrency, just threads and synchronization
    // and foreign code on multiple pthreads.
    
    package main
    
    import (
    	big "."
    	"runtime"
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Viewed (0)
  3. clause/set.go

    package clause
    
    import "sort"
    
    type Set []Assignment
    
    type Assignment struct {
    	Column Column
    	Value  interface{}
    }
    
    func (set Set) Name() string {
    	return "SET"
    }
    
    func (set Set) Build(builder Builder) {
    	if len(set) > 0 {
    		for idx, assignment := range set {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    			builder.WriteQuoted(assignment.Column)
    			builder.WriteByte('=')
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Nov 29 03:02:44 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/cgo_linux_test.go

    // Copyright 2012 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
    
    package cgotest
    
    import (
    	"os"
    	"runtime"
    	"testing"
    )
    
    func TestSetgid(t *testing.T) {
    	if runtime.GOOS == "android" {
    		t.Skip("unsupported on Android")
    	}
    	if _, err := os.Stat("/etc/alpine-release"); err == nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (0)
  5. callbacks/query.go

    								if join.On != nil {
    									onStmt.AddClause(join.On)
    								}
    
    								if cs, ok := onStmt.Clauses["WHERE"]; ok {
    									if where, ok := cs.Expression.(clause.Where); ok {
    										where.Build(&onStmt)
    
    										if onSQL := onStmt.SQL.String(); onSQL != "" {
    											vars := onStmt.Vars
    											for idx, v := range vars {
    												bindvar := strings.Builder{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Jan 29 03:34:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. lib/time/mkzip.go

    // Copyright 2022 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
    
    // Mkzip writes a zoneinfo.zip with the content of the current directory
    // and its subdirectories, with no compression, suitable for package time.
    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. migrator/migrator.go

    					if rel.Field.IgnoreMigration {
    						continue
    					}
    					if constraint := rel.ParseConstraint(); constraint != nil {
    						if constraint.Schema == stmt.Schema {
    							sql, vars := constraint.Build()
    							createTableSQL += sql + ","
    							values = append(values, vars...)
    						}
    					}
    				}
    			}
    
    			for _, uni := range stmt.Schema.ParseUniqueConstraints() {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  8. tests/distinct_test.go

    	if !regexp.MustCompile(`SELECT DISTINCT u\.id, u\.\* FROM user_speaks as s inner join users as u`).MatchString(r.Statement.SQL.String()) {
    		t.Fatalf("Build Distinct with u.*, but got %v", r.Statement.SQL.String())
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/addr2line/addr2line_test.go

    func TestAddr2Line(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	tmpDir, err := os.MkdirTemp("", "TestAddr2Line")
    	if err != nil {
    		t.Fatal("TempDir failed: ", err)
    	}
    	defer os.RemoveAll(tmpDir)
    
    	// Build copy of test binary with debug symbols,
    	// since the one running now may not have them.
    	exepath := filepath.Join(tmpDir, "testaddr2line_test.exe")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. chainable_api.go

    	tx = db.getInstance()
    	tx.Statement.SQL = strings.Builder{}
    
    	if strings.Contains(sql, "@") {
    		clause.NamedExpr{SQL: sql, Vars: values}.Build(tx.Statement)
    	} else {
    		clause.Expr{SQL: sql, Vars: values}.Build(tx.Statement)
    	}
    	return
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
Back to top