Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 376 for St (0.25 sec)

  1. security/pkg/nodeagent/sds/sdsservice.go

    	sync.Mutex
    	watch *xds.WatchedResource
    }
    
    // newSDSService creates Secret Discovery Service which implements envoy SDS API.
    func newSDSService(st security.SecretManager, options *security.Options, pkpConf *mesh.PrivateKeyProvider) *sdsservice {
    	ret := &sdsservice{
    		st:      st,
    		stop:    make(chan struct{}),
    		pkpConf: pkpConf,
    		clients: make(map[string]*Context),
    	}
    
    	ret.rootCaPath = options.CARootPath
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    	if inCap > 0 {
    		go func() {
    			defer close(st.Requests)
    			if !blockReq {
    				<-nowBlocking
    				return
    			}
    			for {
    				select {
    				case <-nowBlocking:
    					return
    				case <-st.Done():
    				case st.Requests <- []byte{1}:
    					time.Sleep(10 * time.Millisecond)
    				}
    			}
    		}()
    	}
    	// Check that local returned.
    	err = st.Results(func(b []byte) error {
    		<-st.Done()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue39505.go

    // license that can be found in the LICENSE file.
    
    package p
    
    func f() {
    	if len([]int{})-1 < len([]int{}) {
    	}
    
    	var st struct {
    		i int
    	}
    	g := func() string {
    		return ""
    	}
    	h := func(string) string {
    		return g() + g()
    	}
    	s, i := "", 0
    
    	st.i = len(s)
    	i = len(h(s[i+0:i+1])) + len(s[len(s)+1:i+1])
    	s = s[(len(s[i+1:len(s)+1])+1):len(h(""))+1] + (s[i+1 : len([]int{})+i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 28 16:40:32 UTC 2020
    - 613 bytes
    - Viewed (0)
  4. src/internal/profile/encode.go

    // exported fields are cleared up to facilitate testing.
    func (p *Profile) preEncode() {
    	strings := make(map[string]int)
    	addString(strings, "")
    
    	for _, st := range p.SampleType {
    		st.typeX = addString(strings, st.Type)
    		st.unitX = addString(strings, st.Unit)
    	}
    
    	for _, s := range p.Sample {
    		s.labelX = nil
    		var keys []string
    		for k := range s.Label {
    			keys = append(keys, k)
    		}
    		sort.Strings(keys)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/nodeaffinity/node_affinity_test.go

    			oldObj:       st.MakeNode().Obj(),
    			newObj:       st.MakeNode().Label("k", "v").Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		"skip-labels-changes-on-node-from-suitable-to-unsuitable": {
    			args:         &config.NodeAffinityArgs{},
    			pod:          podWithNodeAffinity.DeepCopy(),
    			oldObj:       st.MakeNode().Label("foo", "bar").Obj(),
    			newObj:       st.MakeNode().Label("k", "v").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 12:00:10 UTC 2023
    - 38.7K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    			oldObj:       st.MakePod().Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		"skip-queue-on-non-hostport": {
    			pod:          podWithHostPort.Obj(),
    			oldObj:       st.MakePod().Node("fake-node").Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		"skip-queue-on-unrelated-hostport": {
    			pod:          podWithHostPort.Obj(),
    			oldObj:       st.MakePod().Node("fake-node").HostPort(8081).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. test/fixedbugs/issue15281.go

    			println("BUG: f2: after alloc: expected delta below 1MB, got: ", delta)
    			println(x)
    		}
    	}
    }
    
    func inuse() int64 {
    	runtime.GC()
    	var st runtime.MemStats
    	runtime.ReadMemStats(&st)
    	return int64(st.Alloc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 09:45:44 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue44739.go

    	// 8 byte gostring, store
    	// to unaligned static
    	copy(a.y[:], gostring2)
    }
    
    func main() {
    	var t1, t2 T
    
    	// test copy to automatic storage,
    	// load of unaligned gostring.
    	copy(st.y[:], gostring2)
    	copy(t1.y[:], st.y[:])
    	copy(t2.y[:], gostring3)
    	// test initialization of params
    	if !f(t1, 'a', t2) {
    		// gostring1 added so it has a use
    		fmt.Printf("FAIL: %s\n", gostring1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 10 19:33:23 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_host_send_device_context.cc

      status = stream_->RecordEvent(done_event_.get().get());
      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/os/stat_wasip1.go

    		fs.mode |= ModeSocket
    	case syscall.FILETYPE_SYMBOLIC_LINK:
    		fs.mode |= ModeSymlink
    	}
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	st := fi.Sys().(*syscall.Stat_t)
    	return time.Unix(0, int64(st.Atime))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 990 bytes
    - Viewed (0)
Back to top