Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,065 for go (0.01 sec)

  1. go.mod

    	github.com/go-asn1-ber/asn1-ber v1.5.8-0.20250403174932-29230038a667 // indirect
    	github.com/go-ini/ini v1.67.0 // indirect
    	github.com/go-jose/go-jose/v4 v4.1.0 // indirect
    	github.com/go-logr/logr v1.4.2 // indirect
    	github.com/go-logr/stdr v1.2.2 // indirect
    	github.com/go-ole/go-ole v1.3.0 // indirect
    	github.com/go-openapi/analysis v0.23.0 // indirect
    	github.com/go-openapi/errors v0.22.1 // indirect
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-05-21 15:59
    - 12.3K bytes
    - Viewed (0)
  2. docs/debugging/xattr/go.sum

    github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
    github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
    github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
    github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
    github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
    Registered: 2025-05-25 19:28
    - Last Modified: 2023-12-29 23:52
    - 1.1K bytes
    - Viewed (0)
  3. internal/dsync/drwmutex_test.go

    			go reader(resource, numIterations, &activity, cdone)
    		}
    		go writer(resource, numIterations, &activity, cdone)
    		for ; i < numReaders; i++ {
    			go reader(resource, numIterations, &activity, cdone)
    		}
    		// Wait for the 2 writers and all readers to finish.
    		for i := 0; i < 2+numReaders; i++ {
    			<-cdone
    		}
    	})
    }
    
    // Borrowed from rwmutex_test.go
    func TestRWMutex(t *testing.T) {
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-09 14:28
    - 9.5K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.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.
    
    /*
    An example of wrapping a C library in Go. This is the GNU
    multiprecision library gmp's integer type mpz_t wrapped to look like
    the Go package big's integer type Int.
    
    This is a syntactically valid Go program—it can be parsed with the Go
    Registered: 2025-05-27 11:13
    - Last Modified: 2022-04-11 16:34
    - 9.5K bytes
    - Viewed (0)
  5. internal/dsync/dsync_test.go

    	started := time.Now()
    	var expect time.Duration
    	// Release lock after 10 seconds
    	go func() {
    		// TOTAL
    		time.Sleep(2 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    		dm1st.Unlock(t.Context())
    	}()
    	expect += 2 * testDrwMutexAcquireTimeout
    
    	var wg sync.WaitGroup
    	wg.Add(2)
    
    	go func() {
    		defer wg.Done()
    
    		dm2nd.Lock(id, source)
    
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-09 14:28
    - 10.9K bytes
    - Viewed (0)
  6. src/cmd/addr2line/addr2line_test.go

    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    		t.Fatalf("addr2line_test.go and %s are not same file", srcPath)
    	}
    Registered: 2025-05-27 11:13
    - Last Modified: 2024-09-06 13:23
    - 3.2K bytes
    - Viewed (0)
  7. tests/tests_test.go

    			PreferSimpleProtocol: true,
    		}), cfg)
    	case "sqlserver":
    		// go install github.com/microsoft/go-sqlcmd/cmd/sqlcmd@latest
    		// SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930
    		// CREATE DATABASE gorm;
    		// GO
    		// CREATE LOGIN gorm WITH PASSWORD = 'LoremIpsum86';
    		// CREATE USER gorm FROM LOGIN gorm;
    		// ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];
    		// GO
    		log.Println("testing sqlserver...")
    		if dbDSN == "" {
    Registered: 2025-05-25 09:35
    - Last Modified: 2025-03-11 07:56
    - 3.4K bytes
    - Viewed (0)
  8. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-12-12 05:50
    - 4.4K bytes
    - Viewed (0)
  9. cmd/signals.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"net/http"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/coreos/go-systemd/v22/daemon"
    	"github.com/minio/minio/internal/logger"
    )
    
    func shutdownHealMRFWithTimeout() {
    	const shutdownTimeout = time.Minute
    
    	finished := make(chan struct{})
    	go func() {
    		globalMRFState.shutdown()
    		close(finished)
    	}()
    	select {
    	case <-time.After(shutdownTimeout):
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-09-04 17:02
    - 3.2K bytes
    - Viewed (0)
  10. internal/grid/muxserver.go

    	}
    
    	// Handler goroutine.
    	var handlerErr atomic.Pointer[RemoteErr]
    	go func() {
    		wg.Wait()
    		defer xioutil.SafeClose(send)
    		err := m.handleRequests(ctx, msg, send, handler, handlerIn)
    		if err != nil {
    			handlerErr.Store(err)
    		}
    	}()
    
    	// Response sender goroutine...
    	go func(outBlock <-chan struct{}) {
    		wg.Wait()
    		defer m.parent.deleteMux(true, m.ID)
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-02-18 16:25
    - 9.7K bytes
    - Viewed (0)
Back to top