Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,990 for go (0.14 sec)

  1. .github/workflows/go.yml

    permissions:
      contents: read
    
    jobs:
      build:
        name: Go ${{ matrix.go-version }} on ${{ matrix.os }} - healing
        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.22.x]
            os: [ubuntu-latest]
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/tokenizer.go

    // Copyright 2015 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 lex
    
    import (
    	"go/build/constraint"
    	"io"
    	"os"
    	"strings"
    	"text/scanner"
    	"unicode"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  3. docs/debugging/inspect/go.mod

    go 1.21
    
    require (
    	github.com/klauspost/compress v1.17.8
    	github.com/klauspost/filepathx v1.1.1
    	github.com/minio/colorjson v1.0.7
    	github.com/minio/madmin-go/v3 v3.0.52
    	github.com/secure-io/sio-go v0.3.1
    	github.com/tinylib/msgp v1.1.9
    )
    
    require (
    	github.com/cespare/xxhash/v2 v2.3.0 // indirect
    	github.com/fatih/color v1.17.0 // indirect
    	github.com/mattn/go-colorable v0.1.13 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 09:27:44 UTC 2024
    - 668 bytes
    - Viewed (0)
  4. internal/bucket/bandwidth/reader.go

    	need := len(buf)         // number of bytes requested by caller
    	hdr := r.opts.HeaderSize // remaining header bytes
    	var tokens int           // number of tokens to request
    
    	if hdr > 0 { // available tokens go towards header first
    		if hdr < b { // all of header can be accommodated
    			r.opts.HeaderSize = 0
    			need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload
    			tokens = need + hdr
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 14:57:31 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/archive/zip/writer_test.go

    		t.Fatalf("unexpected Close error: %v", err)
    	}
    
    	want, err := os.ReadFile("testdata/time-go.zip")
    	if err != nil {
    		t.Fatalf("unexpected ReadFile error: %v", err)
    	}
    	if got := buf.Bytes(); !bytes.Equal(got, want) {
    		fmt.Printf("%x\n%x\n", got, want)
    		t.Error("contents of time-go.zip differ")
    	}
    }
    
    func TestWriterOffset(t *testing.T) {
    	largeData := make([]byte, 1<<17)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. cmd/speedtest.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/url"
    	"runtime"
    	"sort"
    	"time"
    
    	"github.com/minio/dperf/pkg/dperf"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    const speedTest = "speedtest"
    
    type speedTestOpts struct {
    	objectSize       int
    	concurrencyStart int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/comparator.go

    // limitations under the License.
    
    package compare
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"strings"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	legacyproto "github.com/golang/protobuf/proto" // nolint: staticcheck
    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    	"sort"
    	"strings"
    	"text/tabwriter"
    
    	matcher "github.com/cncf/xds/go/xds/type/matcher/v3"
    	listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	hcm "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/http_connection_manager/v3"
    	tcp "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/tcp_proxy/v3"
    	"sigs.k8s.io/yaml"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  9. cni/pkg/install/kubeconfig.go

    // limitations under the License.
    
    package install
    
    import (
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    
    	"k8s.io/client-go/tools/clientcmd/api"
    	"k8s.io/client-go/tools/clientcmd/api/latest"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/file"
    )
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. utils/utils.go

    	for i := 0; i < len; i++ {
    		// second return value is "more", not "ok"
    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    			strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
    			return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    		}
    	}
    
    	return ""
    }
    
    func IsValidDBNameChar(c rune) bool {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top