Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,010 for What (0.21 sec)

  1. src/cmd/cgo/internal/test/buildid_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    // Test that we have no more than one build ID.  In the past we used
    // to generate a separate build ID for each package using cgo, and the
    // linker concatenated them all.  We don't want that--we only want
    // one.
    
    import (
    	"bytes"
    	"debug/elf"
    	"os"
    	"testing"
    )
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    			}
    			hdr.Format = format
    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    // handleRegularFile sets up the current file reader and padding such that it
    // can only read the following logical data section. It will properly handle
    // special headers that contain no data section.
    func (tr *Reader) handleRegularFile(hdr *Header) error {
    	nb := hdr.Size
    	if isHeaderOnlyType(hdr.Typeflag) {
    		nb = 0
    	}
    	if nb < 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. cni/pkg/install/install.go

    	// Install kubeconfig (if needed) - we write/update this in the shared node CNI netdir,
    	// which may be watched by other CNIs, and so we don't want to trigger writes to this file
    	// unless it's missing or the contents are not what we expect.
    	if err := maybeWriteKubeConfigFile(in.cfg); err != nil {
    		cniInstalls.With(resultLabel.Value(resultCreateKubeConfigFailure)).Increment()
    		return copiedFiles, fmt.Errorf("write kubeconfig: %v", err)
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. cmd/background-heal-ops.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. internal/config/errors-utils.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. istioctl/pkg/analyze/analyze.go

    			readers, err := gatherFiles(cmd, args)
    			if err != nil {
    				return err
    			}
    			cancel := make(chan struct{})
    
    			// We use the "namespace" arg that's provided as part of root istioctl as a flag for specifying what namespace to use
    			// for file resources that don't have one specified.
    			selectedNamespace = ctx.Namespace()
    			if useKube {
    				// apply default namespace if not specified and useKube is true
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. internal/s3select/sql/timestampfuncs.go

    	timePartMinute         = "MINUTE"
    	timePartSecond         = "SECOND"
    	timePartTimezoneHour   = "TIMEZONE_HOUR"
    	timePartTimezoneMinute = "TIMEZONE_MINUTE"
    )
    
    func extract(what string, t time.Time) (v *Value, err error) {
    	switch what {
    	case timePartYear:
    		return FromInt(int64(t.Year())), nil
    	case timePartMonth:
    		return FromInt(int64(t.Month())), nil
    	case timePartDay:
    		return FromInt(int64(t.Day())), nil
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		if disk == nil {
    			continue
    		}
    		index := index
    		g.Go(func() error {
    			// Ignoring failure to remove parts that weren't present in CompleteMultipartUpload
    			// requests. xl.meta is the authoritative source of truth on which parts constitute
    			// the object. The presence of parts that don't belong in the object doesn't affect correctness.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. cni/pkg/repair/repaircontroller.go

    	}
    	// Helper function; checks that container exit code matches filter
    	matchExitCode := func(state *corev1.ContainerStateTerminated) bool {
    		// If we are filtering on init container exit code and the termination message does not match, exit
    		if ec := c.cfg.InitExitCode; ec == 0 || ec == int(state.ExitCode) {
    			return true
    		}
    		return false
    	}
    
    	// Only check pods that have the sidecar annotation; the rest can be
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    // are understood, so arguments may contain whitespace.
    //
    // checkGCCBaseCmd confirms that the compiler exists in PATH, returning
    // an error if it does not.
    func checkGCCBaseCmd() ([]string, error) {
    	// Use $CC if set, since that's what the build uses.
    	value := os.Getenv("CC")
    	if value == "" {
    		// Try $GCC if set, since that's what we used to use.
    		value = os.Getenv("GCC")
    	}
    	if value == "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top