Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 623 for Implementation (0.13 sec)

  1. doc/next/6-stdlib/1-time.md

    ### Timer changes
    
    Go 1.23 makes two significant changes to the implementation of
    [time.Timer] and [time.Ticker].
    
    <!-- go.dev/issue/61542 -->
    First, `Timer`s and `Ticker`s that are no longer referred to by the program
    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/testing/run_example_wasm.go

    //go:build js || wasip1
    
    package testing
    
    import (
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    )
    
    // TODO(@musiol, @odeke-em): unify this code back into
    // example.go when js/wasm gets an os.Pipe implementation.
    func runExample(eg InternalExample) (ok bool) {
    	if chatty.on {
    		fmt.Printf("%s=== RUN   %s\n", chatty.prefix(), eg.Name)
    	}
    
    	// Capture stdout to temporary file. We're not using
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/crypto/cipher/cbc.go

    		iv:        bytes.Clone(iv),
    		tmp:       make([]byte, b.BlockSize()),
    	}
    }
    
    type cbcEncrypter cbc
    
    // cbcEncAble is an interface implemented by ciphers that have a specific
    // optimized implementation of CBC encryption, like crypto/aes.
    // NewCBCEncrypter will check for this interface and return the specific
    // BlockMode if found.
    type cbcEncAble interface {
    	NewCBCEncrypter(iv []byte) BlockMode
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  4. src/net/http/servemux121.go

    // Changes are minimal: aside from the different receiver type,
    // they mostly involve renaming functions, usually by unexporting them.
    
    // servemux121.go exists solely to provide a snapshot of
    // the pre-Go 1.22 ServeMux implementation for backwards compatibility.
    // Do not modify this file, it should remain frozen.
    
    import (
    	"internal/godebug"
    	"net/url"
    	"sort"
    	"strings"
    	"sync"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:40:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/runtime/netpoll_stub.go

    		notewakeup(&netpollNote)
    	}
    	unlock(&netpollBrokenLock)
    }
    
    // Polls for ready network connections.
    // Returns list of goroutines that become runnable.
    func netpoll(delay int64) (gList, int32) {
    	// Implementation for platforms that do not support
    	// integrated network poller.
    	if delay != 0 {
    		// This lock ensures that only one goroutine tries to use
    		// the note. It should normally be completely uncontended.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/net/port_unix.go

    			m = make(map[string]int)
    			services[netw] = m
    		}
    		for i := 0; i < len(f); i++ {
    			if i != 1 { // f[1] was port/net
    				m[f[i]] = port
    			}
    		}
    	}
    }
    
    // goLookupPort is the native Go implementation of LookupPort.
    func goLookupPort(network, service string) (port int, err error) {
    	onceReadServices.Do(readServices)
    	return lookupPortMap(network, service)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/cap_freebsd.go

    // license that can be found in the LICENSE file.
    
    //go:build freebsd
    
    package unix
    
    import (
    	"errors"
    	"fmt"
    )
    
    // Go implementation of C mostly found in /usr/src/sys/kern/subr_capability.c
    
    const (
    	// This is the version of CapRights this package understands. See C implementation for parallels.
    	capRightsGoVersion = CAP_RIGHTS_VERSION_00
    	capArSizeMin       = CAP_RIGHTS_VERSION_00 + 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. src/run.bash

    # name or the builder name being non-empty.
    #
    # GO_TEST_SHORT: if set to a non-empty, false-ish string, run tests in "-short=false" mode.
    # This environment variable is an internal implementation detail between the
    # Go build system (x/build) and cmd/dist for the purpose of longtest builders,
    # and will be removed if it stops being needed. See go.dev/issue/12508.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:02:23 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/typelists.go

    // TypeList instead.
    func (l *TypeList) list() []Type {
    	if l == nil {
    		return nil
    	}
    	return l.types
    }
    
    // ----------------------------------------------------------------------------
    // Implementation
    
    func bindTParams(list []*TypeParam) *TypeParamList {
    	if len(list) == 0 {
    		return nil
    	}
    	for i, typ := range list {
    		if typ.index >= 0 {
    			panic("type parameter bound more than once")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 28 22:21:55 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/crypto/aes/gcm_s390x.go

    	"crypto/internal/alias"
    	"crypto/subtle"
    	"errors"
    	"internal/byteorder"
    	"internal/cpu"
    )
    
    // This file contains two implementations of AES-GCM. The first implementation
    // (gcmAsm) uses the KMCTR instruction to encrypt using AES in counter mode and
    // the KIMD instruction for GHASH. The second implementation (gcmKMA) uses the
    // newer KMA instruction which performs both operations.
    
    // gcmCount represents a 16-byte big-endian count value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top