Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for never (0.14 sec)

  1. cmd/bitrot.go

    		return sha256.New()
    	case BLAKE2b512:
    		b2, _ := blake2b.New512(nil) // New512 never returns an error if the key is nil
    		return b2
    	case HighwayHash256:
    		hh, _ := highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit
    		return hh
    	case HighwayHash256S:
    		hh, _ := highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit
    		return hh
    	default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. istioctl/pkg/util/common.go

    	"strings"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	binversion "istio.io/istio/operator/version"
    )
    
    var NeverMatch = &metav1.LabelSelector{
    	MatchLabels: map[string]string{
    		"istio.io/deactivated": "never-match",
    	},
    }
    
    var ManifestsFlagHelpStr = `Specify a path to a directory of charts and profiles
    (e.g. ~/Downloads/istio-` + binversion.OperatorVersionString + `/manifests).`
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. cmd/format-meta.go

    // Here "XXXXX" depends on the backend, currently we have "fs" and "xl" implementations.
    // formatMetaV1 should be inherited by backend format structs. Please look at format-fs.go
    // and format-xl.go for details.
    
    // Ideally we will never have a situation where we will have to change the
    // fields of this struct and deal with related migration.
    type formatMetaV1 struct {
    	// Version of the format config.
    	Version string `json:"version"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  4. src/archive/tar/stat_unix.go

    	"strconv"
    	"sync"
    	"syscall"
    )
    
    func init() {
    	sysStat = statUnix
    }
    
    // userMap and groupMap caches UID and GID lookups for performance reasons.
    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. istioctl/pkg/checkinject/checkinject_test.go

    					Revision: "default",
    					Reason:   "The injection webhook is deactivated, and will never match labels.",
    				},
    			},
    		},
    	}
    	whFiles := []string{
    		"testdata/check-inject/default-injector.yaml",
    		"testdata/check-inject/rev-16-injector.yaml",
    		"testdata/check-inject/never-match-injector.yaml",
    	}
    	var whs []admitv1.MutatingWebhookConfiguration
    	for _, whName := range whFiles {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. internal/grid/muxclient.go

    		}
    		m.addResponse(Response{Err: ErrIncorrectSequence})
    		return false
    	}
    	m.RecvSeq++
    	return true
    }
    
    // response will send handleIncoming response to client.
    // may never block.
    // Should return whether the next call would block.
    func (m *muxClient) response(seq uint32, r Response) {
    	if debugReqs {
    		fmt.Println(m.MuxID, m.parent.String(), "RESP")
    	}
    	if debugPrint {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig_test.go

    			specifiedConfName: "bridge.conf",
    			delayedConfName:   "bridge.conf",
    			expectedConfName:  "bridge.conf",
    		},
    		{
    			name:              "specified CNI config file never created",
    			chainedCNIPlugin:  true,
    			specifiedConfName: "never-created.conf",
    			existingConfFiles: []string{"bridge.conf", "list.conflist"},
    		},
    		{
    			name:             "standalone CNI plugin unspecified CNI config file",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle_test.go

    		},
    		{
    			// restore completed but expired
    			meta: map[string]string{
    				xhttp.AmzRestore: completedRestoreObj(time.Now().Add(-time.Hour)).String(),
    			},
    			remote: true,
    		},
    		{
    			// restore never initiated
    			meta:   map[string]string{},
    			remote: true,
    		},
    	}
    	for i, tc := range testCases {
    		// Set transition status to complete
    		fi.TransitionStatus = lifecycle.TransitionComplete
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    		if format == nil {
    			continue
    		}
    		// NOTE: This code is specifically needed when migrating version
    		// V1 to V2 to V3, in a scenario such as this we only need to handle
    		// single sets since we never used to support multiple sets in releases
    		// with V1 format version.
    		if len(format.Erasure.Sets) > 1 {
    			continue
    		}
    		if format.Erasure.This == "" {
    			return true
    		}
    	}
    	return false
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. cmd/bucket-object-lock.go

    		}
    	}
    	return false
    }
    
    // enforceRetentionBypassForDelete enforces whether an existing object under governance can be deleted
    // with governance bypass headers set in the request.
    // Objects under site wide WORM can never be overwritten.
    // For objects in "Governance" mode, overwrite is allowed if a) object retention date is past OR
    // governance bypass headers are set and user has governance bypass permissions.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top