Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for invoke (0.26 sec)

  1. src/archive/zip/register.go

    	"errors"
    	"io"
    	"sync"
    )
    
    // A Compressor returns a new compressing writer, writing to w.
    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    type Compressor func(w io.Writer) (io.WriteCloser, error)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    file containing it. Then it invokes the host linker (usually gcc) to
    combine the go.o object file and any supporting non-Go code into a
    final executable. External linking avoids the dynamic library
    requirement but introduces a requirement that the host linker be
    present to create such a binary.
    
    Most builds both compile source code and invoke the linker to create a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. cmd/os_unix.go

    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    			return err
    		}
    	}
    
    	// Parent now exists; invoke Mkdir and use its result.
    	if err := Mkdir(dirPath, perm); err != nil {
    		if osIsExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	return nil
    }
    
    // The buffer must be at least a block long.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/cni-watcher.go

    	log := log.WithLabels("cni-event", addCmd)
    
    	log.Debugf("netns: %s", addCmd.Netns)
    
    	// The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
    	// but we have to invoke the K8S client anyway, so to be safe we check it again here to make sure we get the same result.
    	maxStaleRetries := 10
    	msInterval := 10
    	retries := 0
    	var ambientPod *corev1.Pod
    	var err error
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. istioctl/pkg/clioptions/central.go

    package clioptions
    
    import (
    	"fmt"
    	"time"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/viper"
    )
    
    // CentralControlPlaneOptions holds options common to all subcommands
    // that invoke Istiod via xDS REST endpoint
    type CentralControlPlaneOptions struct {
    	// Xds is XDS endpoint, e.g. localhost:15010.
    	Xds string
    
    	// XdsPodLabel is a Kubernetes label on the Istiod pods
    	XdsPodLabel string
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    	for i, object := range objects {
    		index := s.getHashedSetIndex(object.ObjectName)
    		objSetMap[index] = append(objSetMap[index], delObj{setIndex: index, origIndex: i, object: object})
    	}
    
    	// Invoke bulk delete on objects per set and save
    	// the result of the delete operation
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	wg.Add(len(objSetMap))
    	for setIdx, objsGroup := range objSetMap {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  7. cmd/bucket-handlers.go

    				Created: dnsRecords[0].CreationDate,
    			})
    		}
    
    		sort.Slice(bucketsInfo, func(i, j int) bool {
    			return bucketsInfo[i].Name < bucketsInfo[j].Name
    		})
    
    	} else {
    		// Invoke the list buckets.
    		var err error
    		bucketsInfo, err = listBuckets(ctx, BucketOptions{})
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    					// Setting an invalid Content-MD5 to force a Md5 Mismatch error.
    					// Used in tesr case 7.
    				case BadMD5:
    					req.Header.Set("Content-MD5", "badmd5")
    				}
    
    				// invoke the PutObjectPart HTTP handler.
    				apiRouter.ServeHTTP(rec, req)
    
    				// validate the error response.
    				want := getAPIError(test.expectedAPIError)
    				if test.expectedAPIError == -1 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  9. src/cmd/asm/doc.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.
    
    /*
    Asm, typically invoked as “go tool asm”, assembles the source file into an object
    file named for the basename of the argument source file with a .o suffix. The
    object file can then be combined with other objects into a package archive.
    
    # Command Line
    
    Usage:
    
    	go tool asm [flags] file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/netns_linux.go

    	"fmt"
    	"runtime"
    	"sync"
    
    	netns "github.com/containernetworking/plugins/pkg/ns"
    	"golang.org/x/sys/unix"
    )
    
    type NetnsWrapper struct {
    	innerNetns netns.NetNS
    	inode      uint64
    }
    
    func (n *NetnsWrapper) Inode() uint64 {
    	return n.inode
    }
    
    func (n *NetnsWrapper) Close() error {
    	return n.innerNetns.Close()
    }
    
    func (n *NetnsWrapper) Fd() uintptr {
    	return n.innerNetns.Fd()
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top