- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,990 for go (0.03 sec)
-
src/bytes/export_test.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. package bytes // Export func for testing
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Apr 24 00:56:36 UTC 2019 - 244 bytes - Viewed (0) -
src/cmd/api/boring_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 16 16:02:26 UTC 2023 - 300 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p2/p2.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. package p2 type Twoer interface { // Deprecated: No good. PackageTwoMeth() } // Deprecated: No good. func F() string {} func G() Twoer {}
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 337 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p3/p3.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. package p3 type ThirdBase struct{} func (tb *ThirdBase) GoodPlayer() (i, j, k int)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Nov 09 14:05:53 UTC 2022 - 310 bytes - Viewed (0) -
tests/prepared_stmt_test.go
defer pdb.Mux.Unlock() if len(pdb.Stmts) != 0 { t.Fatalf("prepared stmt should be empty") } } func isUsingClosedConnError(err error) bool { // https://github.com/golang/go/blob/e705a2d16e4ece77e08e80c168382cdb02890f5b/src/database/sql/sql.go#L2717 return err.Error() == "sql: statement is closed" } // TestPreparedStmtConcurrentReset test calling reset and executing SQL concurrently
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 8.5K bytes - Viewed (0) -
internal/cachevalue/cache.go
return *v, nil } // Fetch new value asynchronously, while we do not return an error // if v != nil value or if t.opts.NoWait && v != nil && tNow-vTime < ttl.Milliseconds()*2 { if t.updating.TryLock() { go func() { defer t.updating.Unlock() t.update(context.Background()) }() } return *v, nil } // Get lock. Either we get it or we wait for it. t.updating.Lock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
// limitations under the License. package k8sversion import ( "bytes" "fmt" "strings" "testing" "k8s.io/apimachinery/pkg/version" fakediscovery "k8s.io/client-go/discovery/fake" "istio.io/istio/operator/pkg/util/clog" "istio.io/istio/pkg/kube" pkgVersion "istio.io/istio/pkg/version" ) var ( version1_17 = &version.Info{ Major: "1", Minor: "17",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0) -
src/bytes/bytes_js_wasm_test.go
// Copyright 2024 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 js && wasm package bytes_test import ( "bytes" "testing" ) func TestIssue65571(t *testing.T) { b := make([]byte, 1<<31+1) b[1<<31] = 1 i := bytes.IndexByte(b, 1) if i != 1<<31 { t.Errorf("IndexByte(b, 1) = %d; want %d", i, 1<<31) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jul 17 07:00:20 UTC 2024 - 417 bytes - Viewed (0) -
internal/config/identity/openid/openid.go
package openid import ( "crypto/sha1" "encoding/base64" "errors" "io" "net/http" "sort" "strconv" "strings" "sync" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio/internal/arn" "github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config/identity/openid/provider"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 16.6K bytes - Viewed (0) -
internal/kms/kes.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package kms import ( "context" "errors" "net/http" "sync" "time" "github.com/minio/kms-go/kes" "github.com/minio/madmin-go/v3" ) type kesConn struct { defaultKeyID string client *kes.Client } func (c *kesConn) Version(ctx context.Context) (string, error) { return c.client.Version(ctx) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 7.3K bytes - Viewed (0)