Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 173 for Cannon (0.14 sec)

  1. src/bufio/scan.go

    					s.empties++
    					if s.empties > maxConsecutiveEmptyReads {
    						panic("bufio.Scan: too many empty tokens without progressing")
    					}
    				}
    				return true
    			}
    		}
    		// We cannot generate a token with what we are holding.
    		// If we've already hit EOF or an I/O error, we are done.
    		if s.err != nil {
    			// Shut it down.
    			s.start = 0
    			s.end = 0
    			return false
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. operator/cmd/mesh/profile-dump.go

    		return "", err
    	}
    	return string(prettyJSON), nil
    }
    
    func profileDump(args []string, pdArgs *profileDumpArgs, l clog.Logger) error {
    	if len(args) == 1 && pdArgs.inFilenames != nil {
    		return fmt.Errorf("cannot specify both profile name and filename flag")
    	}
    
    	if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil {
    		return err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. internal/config/identity/openid/jwt_test.go

    	testKvs.Set(KeyCloakAdminURL, "http://keycloak.test/auth/admin")
    	cfgGet := func(param string) string {
    		return testKvs.Get(param)
    	}
    
    	if testConfig.provider != nil {
    		t.Errorf("Empty config cannot have any provider!")
    	}
    
    	if err := testConfig.initializeProvider(cfgGet, http.DefaultTransport); err != nil {
    		t.Error(err)
    	}
    
    	if testConfig.provider == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. docs/debugging/inspect/export.go

    var (
    	// XL header specifies the format
    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    const (
    	// Breaking changes.
    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    	// We have value receiver so we already have a copy.
    	m.o = m.o.shallowClone()
    	return m
    }
    
    // fileInfoVersions converts the metadata to FileInfoVersions where possible.
    // Metadata that cannot be decoded is skipped.
    func (m *metaCacheEntriesSorted) fileInfoVersions(bucket, prefix, delimiter, afterV string) (versions []ObjectInfo) {
    	versions = make([]ObjectInfo, 0, m.len())
    	prevPrefix := ""
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. internal/hash/reader.go

    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    
    // AddNonTrailingChecksum will add a checksum to the reader.
    // The checksum cannot be trailing.
    func (r *Reader) AddNonTrailingChecksum(cs *Checksum, ignoreValue bool) error {
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	if ignoreValue {
    		// Do not validate, but allow for transfer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  7. src/archive/tar/format.go

    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    	//	http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    // the [ErrInsecurePath] error and use the returned reader.
    func NewReader(r io.ReaderAt, size int64) (*Reader, error) {
    	if size < 0 {
    		return nil, errors.New("zip: size cannot be negative")
    	}
    	zr := new(Reader)
    	var err error
    	if err = zr.init(r, size); err != nil && err != ErrInsecurePath {
    		return nil, err
    	}
    	return zr, err
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  9. istioctl/pkg/multixds/gather.go

    		if !all && len(responses) > 0 {
    			break
    		}
    	}
    	return responses, nil
    }
    
    // queryDebugSynczViaAgents sends a debug/syncz xDS request via Istio Agents.
    // By this way, even if istioctl cannot access a specific `istiod` instance directly,
    // `istioctl` can access the debug endpoint.
    // If `all` is true, `queryDebugSynczViaAgents` iterates all the pod having a proxy
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    func preSignV4(req *http.Request, accessKeyID, secretAccessKey string, expires int64) error {
    	// Presign is not needed for anonymous credentials.
    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	region := globalSite.Region
    	date := UTCNow()
    	scope := getScope(date, region)
    	credential := fmt.Sprintf("%s/%s", accessKeyID, scope)
    
    	// Set URL query.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top