Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for courant (0.38 sec)

  1. cni/pkg/nodeagent/server_test.go

    		}
    	}
    }
    
    func (wg *WaitGroup) Add(i int32) {
    	select {
    	case <-wg.done:
    		panic("use of an already closed WaitGroup")
    	default:
    	}
    	atomic.AddInt32(&wg.count, i)
    }
    
    func (wg *WaitGroup) Done() {
    	i := atomic.AddInt32(&wg.count, -1)
    	if i == 0 {
    		close(wg.done)
    	}
    }
    
    func (wg *WaitGroup) C() <-chan struct{} {
    	return wg.done
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. cni/pkg/log/uds_test.go

    	}
    
    	for i, l := range gotLogs {
    		// For each line, there should be two level string, e.g.
    		// "2021-07-09T03:26:08.984951Z	debug	debug log"
    		if got, want := strings.Count(l, wantLevels[i]), 2; want != got {
    			t.Errorf("Number of log level string want %v, got %v", want, got)
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. istioctl/pkg/wait/wait.go

    			countVersions(versionCount, configVersion.ListenerVersion)
    			countVersions(versionCount, configVersion.EndpointVersion)
    		}
    	}
    
    	for version, count := range versionCount {
    		if slices.Contains(acceptedVersions, version) {
    			present += count
    		} else {
    			notpresent += count
    		}
    	}
    	return present, notpresent, sdcnum, nil
    }
    
    // getAndWatchResource ensures that Generations always contains
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/route.go

    	}
    
    	// Return the shortest non-numeric domain.  Count of domains seems uninteresting.
    	max := 2
    	withoutPort := make([]string, 0, len(domains))
    	for _, d := range domains {
    		if !strings.Contains(d, ":") {
    			withoutPort = append(withoutPort, d)
    			// if the domain contains IPv6, such as [fd00:10:96::7fc7] and [fd00:10:96::7fc7]:8090
    		} else if strings.Count(d, ":") > 2 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  5. istioctl/pkg/injector/injector-list.go

    			if revision != "" {
    				podCount[revision] = revisionCount{}
    			}
    		}
    		for injectedRevision, count := range podCount {
    			if outputCount == 0 {
    				fmt.Fprintln(w, "NAMESPACE\tISTIO-REVISION\tPOD-REVISIONS")
    			}
    			outputCount++
    
    			fmt.Fprintf(w, "%s\t%s\t%s\n", namespace.Name, revision, renderCounts(injectedRevision, count))
    		}
    	}
    	if outputCount == 0 {
    		fmt.Fprintf(writer, "No Istio injected namespaces present.\n")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top