Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 462 for original (0.13 sec)

  1. src/compress/gzip/gzip.go

    		Header: Header{
    			OS: 255, // unknown
    		},
    		w:          w,
    		level:      level,
    		compressor: compressor,
    	}
    }
    
    // Reset discards the [Writer] z's state and makes it equivalent to the
    // result of its original state from [NewWriter] or [NewWriterLevel], but
    // writing to w instead. This permits reusing a [Writer] rather than
    // allocating a new one.
    func (z *Writer) Reset(w io.Writer) {
    	z.init(w, z.level)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/log/slog/record.go

    	return Record{
    		Time:    t,
    		Message: msg,
    		Level:   level,
    		PC:      pc,
    	}
    }
    
    // Clone returns a copy of the record with no shared state.
    // The original record and the clone can both be modified
    // without interfering with each other.
    func (r Record) Clone() Record {
    	r.back = slices.Clip(r.back) // prevent append from mutating shared array
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:30:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/regalloc_test.go

    		),
    	)
    	flagalloc(f.f)
    	regalloc(f.f)
    	checkFunc(f.f)
    }
    
    // Test to make sure G register is never reloaded from spill (spill of G is okay)
    // See #25504
    func TestNoGetgLoadReg(t *testing.T) {
    	/*
    		Original:
    		func fff3(i int) *g {
    			gee := getg()
    			if i == 0 {
    				fff()
    			}
    			return gee // here
    		}
    	*/
    	c := testConfigARM64(t)
    	f := c.Fun("b1",
    		Bloc("b1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. src/internal/coverage/encodecounter/encode.go

    	if cfw.debug {
    		fmt.Fprintf(os.Stderr, "=-= writing counter segment header: %+v", cfw.csh)
    	}
    	if err := binary.Write(ws, binary.LittleEndian, cfw.csh); err != nil {
    		return err
    	}
    	// ... and finally return to the original offset.
    	if _, err := ws.Seek(off, io.SeekStart); err != nil {
    		return fmt.Errorf("error seeking in patchSegmentHeader: %v", err)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/internal/chacha8rand/chacha8_generic.go

    			b1, b6, b11, b12 = qr(b1, b6, b11, b12)
    			b2, b7, b8, b13 = qr(b2, b7, b8, b13)
    			b3, b4, b9, b14 = qr(b3, b4, b9, b14)
    		}
    
    		// Store block i back into b[*][i].
    		// Add b4..b11 back to the original key material,
    		// like in ChaCha20, to avoid trivial invertibility.
    		// There is no entropy in b0..b3 and b12..b15
    		// so we can skip the additions and save some time.
    		b[0][i] = b0
    		b[1][i] = b1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:32:54 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. src/syscall/exec_libc2.go

    	if sys.Setctty {
    		_, _, err1 = rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(sys.Ctty), uintptr(TIOCSCTTY), 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Restore original rlimit.
    	if rlim != nil {
    		rawSyscall(abi.FuncPCABI0(libc_setrlimit_trampoline), uintptr(RLIMIT_NOFILE), uintptr(unsafe.Pointer(rlim)), 0)
    	}
    
    	// Time to exec.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. src/text/template/template.go

    // templates. The actual representation is not copied, but the name space of
    // associated templates is, so further calls to [Template.Parse] in the copy will add
    // templates to the copy but not to the original. Clone can be used to prepare
    // common templates and use them with variant definitions for other templates
    // by adding the variants after the clone is made.
    func (t *Template) Clone() (*Template, error) {
    	nt := t.copy(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_client_tls13.go

    	var echRetryConfigList []byte
    	if hs.echContext != nil {
    		confTranscript := cloneHash(hs.echContext.innerTranscript, hs.suite.hash)
    		confTranscript.Write(hs.serverHello.original[:30])
    		confTranscript.Write(make([]byte, 8))
    		confTranscript.Write(hs.serverHello.original[38:])
    		acceptConfirmation := hs.suite.expandLabel(
    			hs.suite.extract(hs.echContext.innerHello.random, nil),
    			"ech accept confirmation",
    			confTranscript.Sum(nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_version.txt

    cmp go.mod go.mod.116
    
    
    go mod tidy -go=1.17
    cmp go.mod go.mod.117
    
    go mod tidy
    cmp go.mod go.mod.117
    
    
    # If we downgrade back to 1.15, we should re-resolve d to v0.2.0 instead
    # of the original v0.1.0 (because the original requirement is lost).
    
    go mod tidy -go=1.15
    cmp go.mod go.mod.115-2
    
    
    # -go= (with an empty argument) maintains the existing version or adds the
    #  default version (just like omitting the flag).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s

    // Code for the perl script that generates the ppc64 assembler
    // can be found in the cryptogams repository at the link below. It is based on
    // the original from openssl.
    
    // https://github.com/dot-asm/cryptogams/commit/a60f5b50ed908e91
    
    // The differences in this and the original implementation are
    // due to the calling conventions and initialization of constants.
    
    //go:build gc && !purego
    
    #include "textflag.h"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top