Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,777 for makeID (0.43 sec)

  1. releasenotes/notes/make-httpbin-work-ocp.yaml

    Jonh Wendell <******@****.***> 1700507291 -0500
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 19:08:11 UTC 2023
    - 156 bytes
    - Viewed (0)
  2. src/go/types/termlist_test.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"strings"
    	"testing"
    )
    
    // maketl makes a term list from a string of the term list.
    func maketl(s string) termlist {
    	s = strings.ReplaceAll(s, " ", "")
    	names := strings.Split(s, "|")
    	r := make(termlist, len(names))
    	for i, n := range names {
    		r[i] = testTerm(n)
    	}
    	return r
    }
    
    func TestTermlistAll(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. test/fixedbugs/issue13799.go

    	}
    }
    
    func test2(iter int) {
    
    	const maxI = 500
    	m := make(map[int][]int) // ERROR "make\(map\[int\]\[\]int\) does not escape$"
    
    	// var fn func()
    	for i := 0; i < maxI; i++ {
    		var fn func() // this makes it work, because fn stays off heap
    		j := 0
    		fn = func() { // ERROR "func literal does not escape$"
    			m[i] = append(m[i], 0)
    			if j < 25 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_chatty_parallel_success_run.txt

    package chatty_parallel_test
    
    import (
    	"testing"
    )
    
    var (
    	afterFirstLog = make(chan struct{})
    	afterSubTest  = make(chan struct{})
    	afterSecondLog = make(chan struct{})
    )
    
    func TestInterruptor(t *testing.T) {
    	t.Parallel()
    
    	<-afterFirstLog
    	t.Run("interruption", func (t *testing.T) {})
    	close(afterSubTest)
    	<-afterSecondLog // Delay the "PASS: TestInterruptor" line until after "CONT  TestLog".
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/internalbootstrap/defaults_test.go

    			scheme.Default(defaulted)
    			if apiequality.Semantic.DeepEqual(original, defaulted) {
    				t.Logf("Defaulting makes no change to FlowSchema: %q", original.Name)
    				return
    			}
    			t.Errorf("Expected defaulting to not change FlowSchema: %q, diff: %s", original.Name, cmp.Diff(original, defaulted))
    		})
    	}
    
    	bootstrapPriorityLevels := make([]*flowcontrol.PriorityLevelConfiguration, 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/futile-wakeup.go

    // license that can be found in the LICENSE file.
    
    // Tests to make sure the runtime doesn't generate futile wakeups. For example,
    // it makes sure that a block on a channel send that unblocks briefly only to
    // immediately go back to sleep (in such a way that doesn't reveal any useful
    // information, and is purely an artifact of the runtime implementation) doesn't
    // make it into the trace.
    
    //go:build ignore
    
    package main
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/strings/clone.go

    import (
    	"internal/stringslite"
    )
    
    // Clone returns a fresh copy of s.
    // It guarantees to make a copy of s into a new allocation,
    // which can be important when retaining only a small substring
    // of a much larger string. Using Clone can help such programs
    // use less memory. Of course, since using Clone makes a copy,
    // overuse of Clone can make programs use more memory.
    // Clone should typically be used only rarely, and only when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 01:23:42 UTC 2024
    - 809 bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/aggregate/controller_test.go

    			t.Fatal("Returned Instance is incorrect")
    		}
    	}
    
    	// Get Instances from mockAdapter2
    	instances = aggregateCtl.GetProxyServiceTargets(&model.Proxy{IPAddresses: []string{mock.MakeIP(mock.WorldService, 1)}})
    	if len(instances) != 6 {
    		t.Fatalf("Returned GetProxyServiceTargets' amount %d is not correct", len(instances))
    	}
    	for _, inst := range instances {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/mock/discovery.go

    		MeshExternal:   isMeshExternal,
    		Ports: []*model.Port{{
    			Name:     "https",
    			Port:     443,
    			Protocol: protocol.HTTPS,
    		}},
    	}
    }
    
    // MakeIP creates a fake IP address for a service and instance version
    func MakeIP(service *model.Service, version int) string {
    	// external services have no instances
    	if service.External() {
    		return ""
    	}
    	ipa, ise := netip.ParseAddr(service.DefaultAddress)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. test/typeparam/pragma.go

    // errorcheck -0 -m
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure the go:noinline pragma makes it from a
    // generic function to any of its stenciled instances.
    
    package main
    
    //go:noinline
    func f[T any](x T) T {
    	return x
    }
    
    func main() { // ERROR "can inline main"
    	println(f(5))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 411 bytes
    - Viewed (0)
Back to top