Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,157 for ONCE (0.03 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go

    	minSeats := e.config.MinimumSeats
    	maxSeats := e.maxSeatsFn(priorityLevelName)
    	if maxSeats == 0 || maxSeats > e.config.MaximumSeatsLimit {
    		maxSeats = e.config.MaximumSeatsLimit
    	}
    
    	// TODO(wojtekt): Remove once we tune the algorithm to not fail
    	// scalability tests.
    	if !e.config.Enabled {
    		return WorkEstimate{
    			InitialSeats: minSeats,
    		}
    	}
    
    	requestInfo, ok := apirequest.RequestInfoFrom(r.Context())
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/gccgo_link_c.txt

    ! go build -x -compiler gccgo
    stderr 'gccgo.*\-L [^ ]*alibpath \-lalib' # make sure that Go-inline "#cgo LDFLAGS:" ("-L alibpath -lalib") passed to gccgo linking stage
    ! stderr 'gccgo.*-lalib.*-lalib' # make sure -lalib is only passed once
    
    -- go.mod --
    module m
    -- cgoref.go --
    package main
    // #cgo LDFLAGS: -L alibpath -lalib
    // void f(void) {}
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:38:51 UTC 2023
    - 617 bytes
    - Viewed (0)
  3. src/cmd/doc/dirs.go

    // In module mode, this is each module root, with an import path set to its module path.
    func codeRoots() []Dir {
    	codeRootsCache.once.Do(func() {
    		codeRootsCache.roots = findCodeRoots()
    	})
    	return codeRootsCache.roots
    }
    
    var codeRootsCache struct {
    	once  sync.Once
    	roots []Dir
    }
    
    var usingModules bool
    
    func findCodeRoots() []Dir {
    	var list []Dir
    	if !testGOPATH {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K bytes
    - Viewed (0)
  4. src/internal/poll/errno_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || wasip1
    
    package poll
    
    import "syscall"
    
    // Do the interface allocations only once for common
    // Errno values.
    var (
    	errEAGAIN error = syscall.EAGAIN
    	errEINVAL error = syscall.EINVAL
    	errENOENT error = syscall.ENOENT
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:40 UTC 2023
    - 696 bytes
    - Viewed (0)
  5. test/fixedbugs/bug264.go

    func foo() (int, int) {
    	fooCount++
    	return 0, 0
    }
    
    func bar() (int, int) {
    	barCount++
    	return 0, 0
    }
    
    func bal() (int, int) {
    	balCount++
    	return 0, 0
    }
    
    var a, b = foo() // foo is called once
    var c, _ = bar() // bar is called twice
    var _, _ = bal() // bal is called twice
    
    func main() {
    	if fooCount != 1 {
    		panic("fooCount != 1")
    	}
    	if barCount != 1 {
    		panic("barCount != 1")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 717 bytes
    - Viewed (0)
  6. src/net/http/filetransport.go

    	// We start ServeHTTP in a goroutine, which may take a long
    	// time if the file is large. The newPopulateResponseWriter
    	// call returns a channel which either ServeHTTP or finish()
    	// sends our *Response on, once the *Response itself has been
    	// populated (even if the body itself is still being
    	// written to the res.Body, a pipe)
    	rw, resc := newPopulateResponseWriter()
    	go func() {
    		t.fh.ServeHTTP(rw, req)
    		rw.finish()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz_limit_dup_entry.txt

    # new coverage. Previously this would trigger a corner case when the fuzzer
    # had an execution limit, causing it to deadlock and sit in the coordinator
    # loop indefinitely, failing to exit once the limit had been exhausted.
    
    go test -fuzz=FuzzA -fuzztime=100x -parallel=1
    
    -- go.mod --
    module m
    
    go 1.16
    -- fuzz_test.go --
    package fuzz_test
    
    import (
    	"fmt"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 725 bytes
    - Viewed (0)
  8. src/runtime/time_windows.h

    // Must read hi1, then lo, then hi2. The snapshot is valid if hi1 == hi2.
    // Or, on 64-bit, just read lo:hi1 all at once atomically.
    #define _INTERRUPT_TIME 0x7ffe0008
    #define _SYSTEM_TIME 0x7ffe0014
    #define time_lo 0
    #define time_hi1 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 03 18:37:22 UTC 2021
    - 753 bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/options/deprecated.go

    package options
    
    import (
    	"time"
    
    	"github.com/spf13/pflag"
    	componentbaseconfig "k8s.io/component-base/config"
    )
    
    // DeprecatedOptions contains deprecated options and their flags.
    // TODO remove these fields once the deprecated flags are removed.
    type DeprecatedOptions struct {
    	componentbaseconfig.DebuggingConfiguration
    	componentbaseconfig.ClientConnectionConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 13:24:38 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

            val generatedTopLevelClassifiers = declarationGenerators
                .asSequence()
                .flatMap {
                    // FIXME this function should be called only once during plugin's lifetime, so this usage is not really correct (2)
                    it.getTopLevelClassIds()
                }
                .filter { it.packageFqName == packageFqName }
                .map { it.shortClassName }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top