Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 706 for Cool (0.94 sec)

  1. misc/linkcheck/linkcheck.go

    	verbose = flag.Bool("verbose", false, "verbose")
    )
    
    var wg sync.WaitGroup        // outstanding fetches
    var urlq = make(chan string) // URLs to crawl
    
    // urlFrag is a URL and its optional #fragment (without the #)
    type urlFrag struct {
    	url, frag string
    }
    
    var (
    	mu          sync.Mutex
    	crawled     = make(map[string]bool)      // URL without fragment -> true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject.go

    			Revision: rev,
    			Injected: injected,
    			Reason:   reason,
    		})
    	}
    	sort.Slice(results, func(i, j int) bool {
    		return results[i].Name < results[j].Name
    	})
    	return results
    }
    
    func analyzeWebhooksMatchStatus(whs []admitv1.MutatingWebhook, podLabels, nsLabels map[string]string) (reason string, injected bool) {
    	for _, wh := range whs {
    		nsMatched, nsLabel := extractMatchedSelectorInfo(wh.NamespaceSelector, nsLabels)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    	end          int       // End of data in buf.
    	err          error     // Sticky error.
    	empties      int       // Count of successive empty tokens.
    	scanCalled   bool      // Scan has been called; buffer is in use.
    	done         bool      // Scan has finished.
    }
    
    // SplitFunc is the signature of the split function used to tokenize the
    // input. The arguments are an initial substring of the remaining unprocessed
    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)
  4. logger/sql.go

    	"strings"
    	"time"
    	"unicode"
    
    	"gorm.io/gorm/utils"
    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. internal/event/target/nsq.go

    	EnvNSQQueueLimit    = "MINIO_NOTIFY_NSQ_QUEUE_LIMIT"
    )
    
    // NSQArgs - NSQ target arguments.
    type NSQArgs struct {
    	Enable      bool      `json:"enable"`
    	NSQDAddress xnet.Host `json:"nsqdAddress"`
    	Topic       string    `json:"topic"`
    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  6. cmd/metacache_test.go

    			}
    		})
    	}
    }
    
    func Test_metacache_finished(t *testing.T) {
    	wantResults := []bool{0: true, 1: true, 2: true, 3: true, 4: false, 5: true, 6: true, 7: false, 8: true}
    
    	for i, tt := range metaCacheTestset {
    		t.Run(tt.id, func(t *testing.T) {
    			var want bool
    			if i >= len(wantResults) {
    				t.Logf("no expected result for test #%d", i)
    			} else {
    				want = wantResults[i]
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/istiodconfig_test.go

    	type args struct {
    		slp               string
    		validationPattern string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    *ScopeLevelPair
    		wantErr bool
    	}{
    		{
    			name:    "Fail when logs scope-level pair don't match pattern",
    			args:    args{validationPattern: validationPattern, slp: "invalid:pattern"},
    			wantErr: true,
    		},
    	}
    	for _, tt := range tests {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. internal/hash/reader.go

    	expectedMax int64
    
    	size       int64
    	actualSize int64
    
    	checksum      etag.ETag
    	contentSHA256 []byte
    
    	// Content checksum
    	contentHash   Checksum
    	contentHasher hash.Hash
    	disableMD5    bool
    
    	trailer http.Header
    
    	sha256 hash.Hash
    }
    
    // Options are optional arguments to NewReaderWithOpts, Options
    // simply converts positional arguments to NewReader() into a
    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)
  9. cmd/namespace-lock.go

    type nsLockMap struct {
    	// Indicates if namespace is part of a distributed setup.
    	isDistErasure bool
    	lockMap       map[string]*nsLock
    	lockMapMutex  sync.Mutex
    }
    
    // Lock the namespace resource.
    func (n *nsLockMap) lock(ctx context.Context, volume string, path string, lockSource, opsID string, readLock bool, timeout time.Duration) (locked bool) {
    	resource := pathJoin(volume, path)
    
    	n.lockMapMutex.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  10. cmd/net.go

    func sameLocalAddrs(addr1, addr2 string) (bool, error) {
    	// Extract host & port from given parameters
    	host1, port1, err := extractHostPort(addr1)
    	if err != nil {
    		return false, err
    	}
    	host2, port2, err := extractHostPort(addr2)
    	if err != nil {
    		return false, err
    	}
    
    	var addr1Local, addr2Local bool
    
    	if host1 == "" {
    		// If empty host means it is localhost
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top