Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for tl (0.2 sec)

  1. src/internal/xcoff/file_test.go

    		fn := len(f.Sections)
    		if tn != fn {
    			t.Errorf("open %s: len(Sections) = %d, want %d", tt.file, fn, tn)
    		}
    		tl := tt.needed
    		fl, err := f.ImportedLibraries()
    		if err != nil {
    			t.Error(err)
    		}
    		if !reflect.DeepEqual(tl, fl) {
    			t.Errorf("open %s: loader import = %v, want %v", tt.file, tl, fl)
    		}
    	}
    }
    
    func TestOpenFailure(t *testing.T) {
    	filename := "file.go"    // not an XCOFF object file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 10 18:52:31 UTC 2018
    - 3K bytes
    - Viewed (0)
  2. pkg/config/schema/codegen/templates/clients.go.tmpl

    	{{- end }}
    {{- end }}
      default:
        panic(fmt.Sprintf("Unknown type %T", ptr.Empty[T]()))
    	}
    }
    
    func GetClient[T, TL runtime.Object](c ClientGetter, namespace string) ktypes.ReadWriteAPI[T, TL] {
    	switch any(ptr.Empty[T]()).(type) {
    {{- range .Entries }}
    	{{- if not .Resource.Synthetic }}
    	case *{{ .IstioAwareClientImport }}.{{ .Resource.Kind }}:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. test/complit.go

    	a, b int
    }
    
    func NewP(a, b int) *P {
    	return &P{a, b}
    }
    
    func main() {
    	var t T
    	t = T{0, 7.2, "hi", &t}
    
    	var tp *T
    	tp = &T{0, 7.2, "hi", &t}
    
    	tl := &T{i: 0, next: &T{i: 1, next: &T{i: 2, next: &T{i: 3, next: &T{i: 4}}}}}
    	teq(tl, 5)
    
    	a1 := []int{1, 2, 3}
    	if len(a1) != 3 {
    		panic("a1")
    	}
    	a2 := [10]int{1, 2, 3}
    	if len(a2) != 10 || cap(a2) != 10 {
    		panic("a2")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 02:19:43 UTC 2012
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/tracebuf.go

    type traceWriter struct {
    	traceLocker
    	*traceBuf
    }
    
    // write returns an a traceWriter that writes into the current M's stream.
    func (tl traceLocker) writer() traceWriter {
    	return traceWriter{traceLocker: tl, traceBuf: tl.mp.trace.buf[tl.gen%2]}
    }
    
    // unsafeTraceWriter produces a traceWriter that doesn't lock the trace.
    //
    // It should only be used in contexts where either:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/net/platform_test.go

    		out, _ := exec.Command("oslevel", "-s").Output()
    		if len(out) >= len("7200-XX-ZZ-YYMM") { // AIX 7.2, Tech Level XX, Service Pack ZZ, date YYMM
    			aixVer := string(out[:4])
    			tl, _ := strconv.Atoi(string(out[5:7]))
    			unixEnabledOnAIX = aixVer > "7200" || (aixVer == "7200" && tl >= 2)
    		}
    	}
    }
    
    // testableNetwork reports whether network is testable on the current
    // platform configuration.
    func testableNetwork(network string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/tracecpu.go

    			// we would still want to do a goroutine-level sleep in between
    			// reads to avoid frequent wakeups.
    			trace.cpuSleep.sleep(100_000_000)
    
    			tl := traceAcquire()
    			if !tl.ok() {
    				// Tracing disabled.
    				break
    			}
    			keepGoing := traceReadCPU(tl.gen)
    			traceRelease(tl)
    			if !keepGoing {
    				break
    			}
    		}
    		done <- struct{}{}
    	}()
    	trace.cpuLogDone = done
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. pkg/bootstrap/platform/azure.go

    		return an.(string)
    	}
    	return ""
    }
    
    // Returns the Azure tags
    func (e *azureEnv) azureTags() map[string]string {
    	tags := map[string]string{}
    	if tl, ok := e.computeMetadata["tagsList"]; ok {
    		tlByte, err := json.Marshal(tl)
    		if err != nil {
    			return tags
    		}
    		var atl []azureTag
    		err = json.Unmarshal(tlByte, &atl)
    		if err != nil {
    			return tags
    		}
    		for _, tag := range atl {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/syscall/syscall_unix_test.go

    		}
    		aixVer := string(out[:4])
    		tl, err := strconv.Atoi(string(out[5:7]))
    		if err != nil {
    			t.Skipf("skipping on AIX because oslevel -s output cannot be parsed: %v", err)
    		}
    		if aixVer < "7200" || (aixVer == "7200" && tl < 2) {
    			t.Skip("skipped on AIX versions previous to 7.2 TL 2")
    		}
    
    	}
    
    	tempDir := t.TempDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/nettest/nettest.go

    		out, _ := exec.Command("oslevel", "-s").Output()
    		if len(out) >= len("7200-XX-ZZ-YYMM") { // AIX 7.2, Tech Level XX, Service Pack ZZ, date YYMM
    			ver := string(out[:4])
    			tl, _ := strconv.Atoi(string(out[5:7]))
    			unStrmDgramEnabled = ver > "7200" || (ver == "7200" && tl >= 2)
    		}
    	default:
    		unStrmDgramEnabled = true
    	}
    }
    
    func unixStrmDgramEnabled() bool {
    	stackOnce.Do(probeStack)
    	return unStrmDgramEnabled
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. pilot/pkg/xds/cds_test.go

    				if cluster == nil {
    					t.Fatal("cluster not found")
    				}
    				cluster.GetTransportSocket().GetTypedConfig()
    				tl := xdstest.UnmarshalAny[tls.UpstreamTlsContext](t, cluster.GetTransportSocket().GetTypedConfig())
    				names := sets.New[string]()
    				// nolint: staticcheck
    				for _, n := range tl.GetCommonTlsContext().GetCombinedValidationContext().GetDefaultValidationContext().GetMatchSubjectAltNames() {
    					names.Insert(n.GetExact())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top