Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 837 for provider (0.11 sec)

  1. src/log/slog/internal/buffer/buffer.go

    // Copyright 2022 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.
    
    // Package buffer provides a pool-allocated byte buffer.
    package buffer
    
    import "sync"
    
    // buffer adapted from go/src/fmt/print.go
    type Buffer []byte
    
    // Having an initial size gives a dramatic speedup.
    var bufPool = sync.Pool{
    	New: func() any {
    		b := make([]byte, 0, 1024)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/runtime/os_openbsd_libc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build openbsd && !mips64
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // mstart_stub provides glue code to call mstart from pthread_create.
    func mstart_stub()
    
    // May run with m.p==nil, so write barriers are not allowed.
    //
    //go:nowritebarrierrec
    func newosproc(mp *m) {
    	if false {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/tls_ppc64x.s

    // SIGSEGV, and our runtime.sigtramp don't even know we
    // are in external code, and will continue to use R30,
    // this might well result in another SIGSEGV.
    
    // save_g saves the g register into pthread-provided
    // thread-local memory, so that we can call externally compiled
    // ppc64 code that will overwrite this register.
    //
    // If !iscgo, this is a no-op.
    //
    // NOTE: setg_gcc<> assume this clobbers only R31.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. test/typeparam/orderedmapsimp.dir/a.go

    			if !isNaN(v1) || !isNaN(v2) {
    				return false
    			}
    		}
    	}
    	return true
    }
    
    // Ranger returns a Sender and a Receiver. The Receiver provides a
    // Next method to retrieve values. The Sender provides a Send method
    // to send values and a Close method to stop sending values. The Next
    // method indicates when the Sender has been closed, and the Send
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/edit.go

    		return orig, false, nil
    	}
    
    	// A module that is not even in the build list necessarily cannot provide
    	// any imported packages. Mark as direct only the direct modules that are
    	// still in the build list. (We assume that any module path that provided a
    	// direct import before the edit continues to do so after. There are a few
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/mode.go

    	return mode
    }
    
    // SetMode sets the global telemetry mode to the given value.
    //
    // See the documentation of [Mode] for a description of the supported mode
    // values.
    //
    // An error is returned if the provided mode value is invalid, or if an error
    // occurs while persisting the mode value to the file system.
    func SetMode(mode string) error {
    	return telemetry.Default.SetMode(mode)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/net/cgo_stub.go

    // This file holds stub versions of the cgo functions called on Unix systems.
    // We build this file:
    // - if using the netgo build tag on a Unix system
    // - on a Unix system without the cgo resolver functions
    //   (Darwin always provides the cgo functions, in cgo_unix_syscall.go)
    // - on wasip1, where cgo is never available
    
    //go:build (netgo && unix) || (unix && !cgo && !darwin) || js || wasip1
    
    package net
    
    import "context"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/vcweb/auth.go

    // as a JSON-serialized accessToken. If the credentials from the request match
    // the accessToken, the file is served normally; otherwise, it is rejected with
    // the StatusCode and Message provided by the token.
    type authHandler struct{}
    
    type accessToken struct {
    	Username, Password string
    	StatusCode         int // defaults to 401.
    	Message            string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 17:47:26 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    # 'go install pkg@version' should report an error if the arguments are in
    # different modules.
    ! go install example.com/cmd/a@v1.0.0 rsc.io/fortune@v1.0.0
    stderr '^package rsc.io/fortune provided by module rsc.io/fortune@v1.0.0\n\tAll packages must be provided by the same module \(example.com/cmd@v1.0.0\).$'
    
    
    # 'go install pkg@version' should report an error if an argument is not
    # a main package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/net/http/httptest/httptest.go

    // Copyright 2016 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.
    
    // Package httptest provides utilities for HTTP testing.
    package httptest
    
    import (
    	"bufio"
    	"bytes"
    	"context"
    	"crypto/tls"
    	"io"
    	"net/http"
    	"strings"
    )
    
    // NewRequest wraps NewRequestWithContext using context.Background.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:09:14 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top