Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,990 for Go (0.03 sec)

  1. src/arena/arena_test.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 goexperiment.arenas
    
    package arena_test
    
    import (
    	"arena"
    	"testing"
    )
    
    type T1 struct {
    	n int
    }
    type T2 [1 << 20]byte // 1MiB
    
    func TestSmoke(t *testing.T) {
    	a := arena.NewArena()
    	defer a.Free()
    
    	tt := arena.New[T1](a)
    	tt.n = 1
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 742 bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    package cmd
    
    import (
    	"bytes"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"reflect"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/encrypt"
    	"github.com/minio/minio-go/v7/pkg/set"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/s3select/jstream"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/mock_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package cli
    
    import (
    	"net/http"
    
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	"k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/istio/pkg/kube"
    )
    
    func init() {
    	MakeKubeFactory = func(k kube.CLIClient) util.Factory {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/cluster.go

    // limitations under the License.
    
    package multicluster
    
    import (
    	"context"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes"
    )
    
    // Use UUID of kube-system Namespace as unique identifier for cluster.
    // (see https://docs.google.com/document/d/1F__vEKeI41P7PPUCMM9PVPYY34pyrvQI5rbTJVnS5c4)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 02 03:11:58 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. docs/debugging/xattr/go.mod

    module github.com/minio/minio/docs/debugging/xattr
    
    go 1.21
    
    require (
    	github.com/olekukonko/tablewriter v0.0.5
    	github.com/pkg/xattr v0.4.9
    )
    
    require (
    	github.com/mattn/go-runewidth v0.0.15 // indirect
    	github.com/rivo/uniseg v0.4.4 // indirect
    	golang.org/x/sys v0.15.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 289 bytes
    - Viewed (0)
  6. cni/pkg/log/uds.go

    	unixListener, err := uds.NewListener(sockAddress)
    	if err != nil {
    		return fmt.Errorf("failed to create UDS listener: %v", err)
    	}
    	go func() {
    		if err := l.loggingServer.Serve(unixListener); network.IsUnexpectedListenerError(err) {
    			log.Errorf("Error running UDS log server: %v", err)
    		}
    	}()
    
    	go func() {
    		<-stop
    		if err := l.loggingServer.Close(); err != nil {
    			log.Errorf("CNI log server terminated with error: %v", err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/route.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"sort"
    	"strconv"
    	"strings"
    	"text/tabwriter"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/proto"
    	pilot_util "istio.io/istio/pilot/pkg/networking/util"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. internal/dsync/drwmutex.go

    		refreshInterval:      drwMutexRefreshInterval,
    		lockRetryMinInterval: lockRetryMinInterval,
    	}
    }
    
    // Lock holds a write lock on dm.
    //
    // If the lock is already in use, the calling go routine
    // blocks until the mutex is available.
    func (dm *DRWMutex) Lock(id, source string) {
    	isReadLock := false
    	dm.lockBlocking(context.Background(), nil, id, source, isReadLock, Options{
    		Timeout: drwMutexInfinite,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. docs/debugging/pprofgoparser/go.mod

    module github.com/minio/minio/docs/debugging/pprofgoparser
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 68 bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/sds/util.go

    // limitations under the License.
    
    package sdscompare
    
    import (
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    	envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	"istio.io/istio/pkg/log"
    )
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top