Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,115 for go (0.14 sec)

  1. src/cmd/cgo/internal/swig/testdata/callback/main.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 main
    
    import (
    	"fmt"
    	"os"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 1K bytes
    - Viewed (0)
  2. istioctl/pkg/util/configdump/bootstrap.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    )
    
    // GetBootstrapConfigDump retrieves the bootstrap config dump from the ConfigDump
    func (w *Wrapper) GetBootstrapConfigDump() (*admin.BootstrapConfigDump, error) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue26213/test26213.go

    // Copyright 2018 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 issue26213
    
    /*
    #include "jni.h"
    */
    import "C"
    import (
    	"testing"
    )
    
    func Test26213(t *testing.T) {
    	var x1 C.jobject = 0 // Note: 0, not nil. That makes sure we use uintptr for these types.
    	_ = x1
    	var x2 C.jclass = 0
    	_ = x2
    	var x3 C.jthrowable = 0
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 835 bytes
    - Viewed (0)
  4. internal/logger/target/http/http.go

    	h.storeCtxCancel = cancel
    	h.lastStarted = time.Now()
    	go h.startQueueProcessor(ctx, true)
    	store.StreamItems(h.store, h, ctx.Done(), h.config.LogOnceIf)
    	return nil
    }
    
    func (h *Target) initMemoryStore(ctx context.Context) (err error) {
    	ctx, cancel := context.WithCancel(ctx)
    	h.storeCtxCancel = cancel
    	h.lastStarted = time.Now()
    	go h.startQueueProcessor(ctx, true)
    	return nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. internal/ioutil/ioutil.go

    // by the standard library.
    package ioutil
    
    import (
    	"context"
    	"errors"
    	"io"
    	"os"
    	"runtime/debug"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/disk"
    )
    
    // Block sizes constant.
    const (
    	SmallBlock = 32 * humanize.KiByte // Default r/w block size for smaller objects.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. 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"
    )
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. cmd/utils.go

    	"path/filepath"
    	"runtime"
    	"runtime/pprof"
    	"runtime/trace"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/coreos/go-oidc"
    	"github.com/dustin/go-humanize"
    	"github.com/felixge/fgprof"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	miniogopolicy "github.com/minio/minio-go/v7/pkg/policy"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/api"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/s390x.go

    // Copyright 2016 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.
    
    // This file encapsulates some of the odd characteristics of the
    // s390x instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj/s390x"
    )
    
    func jumpS390x(word string) bool {
    	switch word {
    	case "BRC",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 17 14:55:25 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue1435.go

    // Copyright 2019 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 linux && cgo
    
    package cgotest
    
    import (
    	"fmt"
    	"internal/testenv"
    	"os"
    	"runtime"
    	"sort"
    	"strings"
    	"syscall"
    	"testing"
    )
    
    // #include <stdio.h>
    // #include <stdlib.h>
    // #include <pthread.h>
    // #include <unistd.h>
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. internal/s3select/json/preader.go

    	}
    
    	// Create queue
    	r.queue = make(chan *queueItem, runtime.GOMAXPROCS(0))
    	r.input = make(chan *queueItem, runtime.GOMAXPROCS(0))
    	r.readerWg.Add(1)
    
    	// Start splitter
    	go func() {
    		defer close(r.input)
    		defer close(r.queue)
    		defer r.readerWg.Done()
    		for {
    			next, err := r.nextSplit(jsonSplitSize, r.bufferPool.Get().([]byte))
    			q := queueItem{
    				input: next,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top