Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for provider (0.3 sec)

  1. src/vendor/golang.org/x/net/nettest/nettest.go

    // Copyright 2019 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 nettest provides utilities for network testing.
    package nettest
    
    import (
    	"errors"
    	"fmt"
    	"net"
    	"os"
    	"os/exec"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    )
    
    var (
    	stackOnce               sync.Once
    	ipv4Enabled             bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    }
    
    // The Range interface provides a range. It's equivalent to and satisfied by
    // ast.Node.
    type Range interface {
    	Pos() token.Pos // position of first character belonging to the node
    	End() token.Pos // position of first character immediately after the node
    }
    
    // ReportRangef is a helper function that reports a Diagnostic using the
    // range provided. ast.Node values can be passed in as the range because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/sha3/doc.go

    // bits of output, their collision-resistance is only "x/2" bits.
    //
    // The SHAKE-256 and -128 functions have a generic security strength of 256 and
    // 128 bits against all attacks, provided that at least 2x bits of their output
    // is used.  Requesting more than 64 or 32 bytes of output, respectively, does
    // not increase the collision-resistance of the SHAKE functions.
    //
    // # The sponge construction
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/sync/atomic/type.go

    // And atomically performs a bitwise AND operation on x using the bitmask
    // provided as mask and returns the old value.
    func (x *Int32) And(mask int32) (old int32) { return AndInt32(&x.v, mask) }
    
    // Or atomically performs a bitwise OR operation on x using the bitmask
    // provided as mask and returns the old value.
    func (x *Int32) Or(mask int32) (old int32) { return OrInt32(&x.v, mask) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/internal/trace/base.go

    		return id
    	}
    	t.nextExtra++
    	id := t.nextExtra
    	t.extraStrings = append(t.extraStrings, s)
    	t.extraStringIDs[s] = id
    	return id
    }
    
    // getExtraString returns the extra string for the provided ID.
    // The ID must have been produced by addExtraString for this evTable.
    func (t *evTable) getExtraString(id extraStringID) string {
    	if id == 0 {
    		return ""
    	}
    	return t.extraStrings[id-1]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/3-structs.md

    ### New structs package
    
    The new [structs] package provides
    types for struct fields that modify properties of
    the containing struct type such as memory layout.
    
    In this release, the only such type is
    [`HostLayout`](/pkg/structs#HostLayout)
    which indicates that a structure with a field of that
    type has a layout that conforms to host platform
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:06:02 UTC 2024
    - 356 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	}
    	logger := log.New(logWriter, "", log.Ltime|log.Lmicroseconds|log.Lshortfile)
    
    	// Fetch the upload config, if it is not provided.
    	config, configVersion, err := configstore.Download("latest", rcfg.Env)
    	if err != nil {
    		return nil, err
    	}
    
    	// Set the start time, if it is not provided.
    	startTime := time.Now().UTC()
    	if !rcfg.StartTime.IsZero() {
    		startTime = rcfg.StartTime
    	}
    
    	return &uploader{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/reflect/arena.go

    //go:build goexperiment.arenas
    
    package reflect
    
    import "arena"
    
    // ArenaNew returns a [Value] representing a pointer to a new zero value for the
    // specified type, allocating storage for it in the provided arena. That is,
    // the returned Value's Type is [PointerTo](typ).
    func ArenaNew(a *arena.Arena, typ Type) Value {
    	return ValueOf(arena_New(a, PointerTo(typ)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 574 bytes
    - Viewed (0)
  9. src/sync/mutex.go

    // Copyright 2009 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 sync provides basic synchronization primitives such as mutual
    // exclusion locks. Other than the [Once] and [WaitGroup] types, most are intended
    // for use by low-level library routines. Higher-level synchronization is
    // better done via channels and communication.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/net/sock_cloexec.go

    // Copyright 2013 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.
    
    // This file implements sysSocket for platforms that provide a fast path for
    // setting SetNonblock and CloseOnExec.
    
    //go:build dragonfly || freebsd || linux || netbsd || openbsd
    
    package net
    
    import (
    	"os"
    	"syscall"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 730 bytes
    - Viewed (0)
Back to top