- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 45 for Klinger (0.18 sec)
-
misc/cgo/gmp/gmp.go
If xxx is data, cgo arranges for C.xxx to refer to the C variable, with the type translated as described above. To do this, cgo must introduce a Go variable that points at the C variable (the linker can be told to initialize this pointer). For example, if the gmp library provided mpz_t zero; then cgo would rewrite a reference to C.zero by introducing var _C_zero *C.mpz_t
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/buildid_linux.go
// license that can be found in the LICENSE file. package cgotest // Test that we have no more than one build ID. In the past we used // to generate a separate build ID for each package using cgo, and the // linker concatenated them all. We don't want that--we only want // one. import ( "bytes" "debug/elf" "os" "testing" ) func testBuildID(t *testing.T) { f, err := elf.Open("/proc/self/exe")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1.7K bytes - Viewed (0) -
internal/lock/lock_windows_test.go
package lock import ( "strings" "testing" ) func TestFixLongPath(t *testing.T) { // 248 is long enough to trigger the longer-than-248 checks in // fixLongPath, but short enough not to make a path component // longer than 255, which is illegal on Windows. (which // doesn't really matter anyway, since this is purely a string // function we're testing, and it's not actually being used to
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Oct 18 18:08:15 GMT 2023 - 2.2K bytes - Viewed (0) -
gorm.go
DB: db, ConnPool: db.ConnPool, Context: context.Background(), Clauses: map[string]clause.Clause{}, } if err == nil && !config.DisableAutomaticPing { if pinger, ok := db.ConnPool.(interface{ Ping() error }); ok { err = pinger.Ping() } } if err != nil { config.Logger.Error(context.Background(), "failed to initialize database, got error %v", err) } return }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sun Aug 20 11:46:56 GMT 2023 - 11.6K bytes - Viewed (0) -
cmd/metacache.go
return false case cache.finished() && time.Since(cache.lastHandout) > 5*metacacheMaxClientWait: // Keep for 15 minutes after we last saw the client. // Since the cache is finished keeping it a bit longer doesn't hurt us. return false case cache.status == scanStateError || cache.status == scanStateNone: // Remove failed listings after 5 minutes. return time.Since(cache.lastUpdate) > 5*time.Minute } return true
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
if !changeNeeded { log.Debugf("Pod %s update event skipped, no change needed", pod.Name) return nil } if !shouldBeEnabled { log.Debugf("Pod %s no longer matches, removing from mesh", newPod.Name) err := s.dataplane.RemovePodFromMesh(s.ctx, pod) log.Debugf("RemovePodFromMesh(%s) returned %v", newPod.Name, err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
schema/schema.go
} return schema, schema.err } // This unrolling is needed to show to the compiler the exact set of methods // that can be used on the modelType. // Prior to go1.22 any use of MethodByName would cause the linker to // abandon dead code elimination for the entire binary. // As of go1.22 the compiler supports one special case of a string constant // being passed to MethodByName. For enterprise customers or those building
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Oct 10 06:50:29 GMT 2023 - 13.7K bytes - Viewed (0) -
internal/bucket/lifecycle/rule_test.go
// appropriate errors on validation func TestInvalidRules(t *testing.T) { invalidTestCases := []struct { inputXML string expectedErr error }{ { // Rule with ID longer than 255 characters inputXML: ` <Rule>
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 4.9K bytes - Viewed (0) -
internal/grid/grid.go
} } // WriterToChannel will return an io.Writer that writes to the given channel. // The context both allows returning errors on writes and to ensure that // this isn't abandoned if the channel is no longer being read from. func WriterToChannel(ctx context.Context, ch chan<- []byte) io.Writer { return &writerWrapper{ch: ch, ctx: ctx} } // bytesOrLength returns small (<=100b) byte slices as string, otherwise length.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 02 15:56:18 GMT 2024 - 4.8K bytes - Viewed (0) -
internal/kms/kes.go
return c, nil } // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused func (c *kesClient) refreshKMSMasterKeyCache(logger Logger) { ctx := context.Background() defaultCacheDuration := 10 * time.Second
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 16 15:43:39 GMT 2024 - 14.9K bytes - Viewed (0)