Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 362 for Implementation (0.23 sec)

  1. src/runtime/memmove_loong64.s

    // 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.
    
    #include "textflag.h"
    
    // See memmove Go doc for important implementation constraints.
    
    // func memmove(to, from unsafe.Pointer, n uintptr)
    TEXT runtime·memmove<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-24
    	BNE	R6, check
    	RET
    
    check:
    	SGTU	R4, R5, R7
    	BNE	R7, backward
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/hash/crc32/crc32_generic.go

    // This file contains CRC32 algorithms that are not specific to any architecture
    // and don't use hardware acceleration.
    //
    // The simple (and slow) CRC32 implementation only uses a 256*4 bytes table.
    //
    // The slicing-by-8 algorithm is a faster implementation that uses a bigger
    // table (8*256*4 bytes).
    
    package crc32
    
    import "internal/byteorder"
    
    // simpleMakeTable allocates and constructs a Table for the specified
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/testprog/futile-wakeup.go

    // it makes sure that a block on a channel send that unblocks briefly only to
    // immediately go back to sleep (in such a way that doesn't reveal any useful
    // information, and is purely an artifact of the runtime implementation) doesn't
    // make it into the trace.
    
    //go:build ignore
    
    package main
    
    import (
    	"context"
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/mcheckmark.go

    // GC checkmarks
    //
    // In a concurrent garbage collector, one worries about failing to mark
    // a live object due to mutations without write barriers or bugs in the
    // collector implementation. As a sanity check, the GC has a 'checkmark'
    // mode that retraverses the object graph with the world stopped, to make
    // sure that everything that should be marked is marked.
    
    package runtime
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/io/fs/readdir.go

    // license that can be found in the LICENSE file.
    
    package fs
    
    import (
    	"errors"
    	"internal/bytealg"
    	"slices"
    )
    
    // ReadDirFS is the interface implemented by a file system
    // that provides an optimized implementation of [ReadDir].
    type ReadDirFS interface {
    	FS
    
    	// ReadDir reads the named directory
    	// and returns a list of directory entries sorted by filename.
    	ReadDir(name string) ([]DirEntry, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/hash/maphash/maphash_purego.go

    	return rthash([]byte(s), state)
    }
    
    func randUint64() uint64 {
    	buf := make([]byte, 8)
    	_, _ = rand.Read(buf)
    	return byteorder.LeUint64(buf)
    }
    
    // This is a port of wyhash implementation in runtime/hash64.go,
    // without using unsafe for purego.
    
    const (
    	m1 = 0xa0761d6478bd642f
    	m2 = 0xe7037ed1a0b428db
    	m3 = 0x8ebc6af09c88c6e3
    	m4 = 0x589965cc75374cc3
    	m5 = 0x1d8e4e27c47d124f
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/reflect/makefunc.go

    // Copyright 2012 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.
    
    // MakeFunc implementation.
    
    package reflect
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // makeFuncImpl is the closure value implementing the function
    // returned by MakeFunc.
    // The first three words of this type must be kept in sync with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/internal/coverage/rtcov/rtcov.go

    // license that can be found in the LICENSE file.
    
    package rtcov
    
    import "unsafe"
    
    // This package contains types whose structure is shared between
    // the runtime package and the "runtime/coverage" implementation.
    
    // CovMetaBlob is a container for holding the meta-data symbol (an
    // RODATA variable) for an instrumented Go package. Here "p" points to
    // the symbol itself, "len" is the length of the sym in bytes, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/runtime/mwbbuf.go

    	return p
    }
    
    // wbBufFlush flushes the current P's write barrier buffer to the GC
    // workbufs.
    //
    // This must not have write barriers because it is part of the write
    // barrier implementation.
    //
    // This and everything it calls must be nosplit because 1) the stack
    // contains untyped slots from gcWriteBarrier and 2) there must not be
    // a GC safe point between the write barrier test in the caller and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/typeset.go

    	}
    	if hasTerms {
    		buf.WriteString(s.terms.String())
    	}
    	buf.WriteString("}")
    	return buf.String()
    }
    
    // ----------------------------------------------------------------------------
    // Implementation
    
    // hasTerms reports whether the type set has specific type terms.
    func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() }
    
    // subsetOf reports whether s1 ⊆ s2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top