Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,322 for preset (0.19 sec)

  1. pkg/registry/core/componentstatus/rest.go

    	return &REST{
    		GetServersToValidate: serverRetriever,
    		TableConvertor:       printerstorage.TableConvertor{TableGenerator: printers.NewTableGenerator().With(printersinternal.AddHandlers)},
    	}
    }
    
    func (*REST) NamespaceScoped() bool {
    	return false
    }
    
    func (rs *REST) New() runtime.Object {
    	return &api.ComponentStatus{}
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/registry/authorization/localsubjectaccessreview/rest.go

    }
    
    func (r *REST) New() runtime.Object {
    	return &authorizationapi.LocalSubjectAccessReview{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *REST) Destroy() {
    	// Given no underlying store, we don't destroy anything
    	// here explicitly.
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    func (r *REST) GetSingularName() string {
    	return "localsubjectaccessreview"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. ci/official/utilities/setup_macos.sh

    if [[ "${TFCI_MACOS_UPGRADE_PYENV_ENABLE}" == 1 ]]; then
      # The TFCI Mac VM image seems to have uncommitted local changes to the Pyenv
      # repository so we have to discard them and reset the working directory before
      # we can pull in the latest changes.
      cd /Users/kbuilder/.pyenv/ && git reset --hard HEAD && git pull && cd -
    fi
    
    # "TFCI_MACOS_PYENV_INSTALL_ENABLE" controls whether to use Pyenv to install
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 15:23:28 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Facet.java

    /**
     * A project facet.
     */
    public class Facet {
    
        /**
         * An {@code installed} facet is really present on an Eclipse project whereas facet type {@code fixed} means that
         * this facet is locked and cannot be simply removed. See also
         * <a href="https://eclipse.org/articles/Article-BuildingProjectFacets/tutorial.html#defining.presets">here</a>.
         */
        @SuppressWarnings("FieldName")
        public enum FacetType { installed, fixed }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. src/time/sleep.go

    // if the program has not received from t.C already and the timer is
    // running, Reset is guaranteed to return true.
    // Before Go 1.23, the only safe way to use Reset was to [Stop] and
    // explicitly drain the timer first.
    // See the [NewTimer] documentation for more details.
    func (t *Timer) Reset(d Duration) bool {
    	if !t.initTimer {
    		panic("time: Reset called on uninitialized Timer")
    	}
    	w := when(d)
    	return resetTimer(t, w, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/os/env_test.go

    	const testValue = "1"
    
    	// reset env
    	defer func(origEnv []string) {
    		for _, pair := range origEnv {
    			// Environment variables on Windows can begin with =
    			// https://devblogs.microsoft.com/oldnewthing/20100506-00/?p=14133
    			i := strings.Index(pair[1:], "=") + 1
    			if err := Setenv(pair[:i], pair[i+1:]); err != nil {
    				t.Errorf("Setenv(%q, %q) failed during reset: %v", pair[:i], pair[i+1:], err)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/runtime/defs3_linux.go

    const (
    	O_RDONLY    = C.O_RDONLY
    	O_CLOEXEC   = C.O_CLOEXEC
    	SA_RESTORER = 0 // unused
    )
    
    type Usigset C.__sigset_t
    
    // types used in sigcontext
    type Ptregs C.struct_pt_regs
    type Gregset C.elf_gregset_t
    type FPregset C.elf_fpregset_t
    type Vreg C.elf_vrreg_t
    
    type StackT C.stack_t
    
    // PPC64 uses sigcontext in place of mcontext in ucontext.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/http2/hpack/huffman.go

    	buf := bufPool.Get().(*bytes.Buffer)
    	buf.Reset()
    	defer bufPool.Put(buf)
    	if err := huffmanDecode(buf, 0, v); err != nil {
    		return 0, err
    	}
    	return w.Write(buf.Bytes())
    }
    
    // HuffmanDecodeToString decodes the string in v.
    func HuffmanDecodeToString(v []byte) (string, error) {
    	buf := bufPool.Get().(*bytes.Buffer)
    	buf.Reset()
    	defer bufPool.Put(buf)
    	if err := huffmanDecode(buf, 0, v); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  9. cmd/erasure-decode.go

    // These will be chosen before others.
    func (p *parallelReader) preferReaders(prefer []bool) {
    	if len(prefer) != len(p.orgReaders) {
    		return
    	}
    	// Copy so we don't change our input.
    	tmp := make([]io.ReaderAt, len(p.orgReaders))
    	copy(tmp, p.orgReaders)
    	p.readers = tmp
    	// next is the next non-preferred index.
    	next := 0
    	for i, ok := range prefer {
    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/log/log_test.go

    	l := New(&buf, "", LstdFlags)
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    		l.Println(testString)
    	}
    }
    
    func BenchmarkPrintlnNoFlags(b *testing.B) {
    	const testString = "test"
    	var buf bytes.Buffer
    	l := New(&buf, "", 0)
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    		l.Println(testString)
    	}
    }
    
    // discard is identical to io.Discard,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 20:04:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top