- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for Kass (0.22 sec)
-
misc/cgo/gmp/fib.go
// 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) -
internal/mountinfo/mountinfo.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.1K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
// limitations under the License. package configdump import ( "encoding/json" "fmt" "sort" "strings" "sigs.k8s.io/yaml" ) // WorkloadFilter is used to pass filter information into workload based config writer print functions type WorkloadFilter struct { Address string Node string Verbose bool Namespace string }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" "sigs.k8s.io/yaml" "istio.io/istio/istioctl/pkg/util/clusters" "istio.io/istio/istioctl/pkg/util/proto" ) // EndpointFilter is used to pass filter information into route based config writer print functions type EndpointFilter struct { Address string Port uint32 Cluster string Status string }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
} client, podName, namespace, selector, err := getClientForResource(resname, ns, factory) if err != nil { return "", "", err } if podName != "" { return podName, namespace, nil } // We need to pass in a sorter, and the one used by `kubectl logs` is good enough. sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) } timeout := 2 * time.Second if getFirstPodFunc == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
cmd/erasure-sets_test.go
} }) } } // TestSipHashMod - test sip hash. func TestSipHashMod(t *testing.T) { testCases := []struct { objectName string sipHash int }{ // cases which should pass the test. // passing in valid object name. {"object", 37}, {"The Shining Script <v1>.pdf", 38}, {"Cost Benefit Analysis (2009-2010).pptx", 59}, {"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35}, {"SHØRT", 49},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 12 07:21:56 GMT 2024 - 6.9K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
// Helpers for tests. // Check if two `mountInfo` are equal. func mountPointsEqual(a, b mountInfo) bool { if a.Device != b.Device || a.Path != b.Path || a.FSType != b.FSType || !slicesEqual(a.Options, b.Options) || a.Pass != b.Pass || a.Freq != b.Freq { return false } return true } // Checks if two string slices are equal. func slicesEqual(a, b []string) bool { if len(a) != len(b) { return false }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Viewed (0) -
istioctl/cmd/sysexits.go
// // The intention here is to use 64-78 in a way that matches the attempt in // sysexits to signify some error running istioctl, and use 79-125 as custom // error codes for other info that we'd like to use to pass info on. const ( ExitUnknownError = 1 // for compatibility with existing exit code ExitIncorrectUsage = 64 ExitDataError = 65 // some format error with input data
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
package configdump import ( "cmp" "encoding/json" "fmt" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) // PolicyFilter is used to pass filter information into service based config writer print functions type PolicyFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.5K bytes - Viewed (0) -
cmd/erasure_test.go
err = erasure.DecodeDataBlocks(encoded) } if err == nil && test.shouldFail { t.Errorf("Test %d: test should fail but it passed", i) } if err != nil && !test.shouldFail { t.Errorf("Test %d: test should pass but it failed: %v", i, err) } decoded := encoded if !test.shouldFail { if test.reconstructParity { for j := range decoded { if decoded[j] == nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 25 19:37:26 GMT 2022 - 4.8K bytes - Viewed (0)