Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 289 for original (0.1 sec)

  1. src/runtime/slice.go

    //	newLen = new length (= oldLen + num)
    //	oldCap = original slice's capacity.
    //	   num = number of elements being added
    //	    et = element type
    //
    // return values:
    //
    //	newPtr = pointer to the new backing store
    //	newLen = same value as the argument
    //	newCap = capacity of the new backing store
    //
    // Requires that uint(newLen) > uint(oldCap).
    // Assumes the original slice length is newLen - num
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/net/http/request_test.go

    	// but we don't care about it)
    	req.Header = nil
    	back.Header = nil
    	if !reflect.DeepEqual(req, back) {
    		t.Errorf("Original request doesn't match Request read back.")
    		t.Logf("Original: %#v", req)
    		t.Logf("Original.URL: %#v", req.URL)
    		t.Logf("Wrote: %s", out.String())
    		t.Logf("Read back (doesn't match Original): %#v", back)
    	}
    }
    
    type responseWriterJustWriter struct {
    	io.Writer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/alias.go

    //
    // [underlying type]: https://go.dev/ref/spec#Underlying_types.
    func (a *Alias) Underlying() Type { return unalias(a).Underlying() }
    
    // Origin returns the generic Alias type of which a is an instance.
    // If a is not an instance of a generic alias, Origin returns a.
    func (a *Alias) Origin() *Alias { return a.orig }
    
    // TypeParams returns the type parameters of the alias type a, or nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/crypto/des/block.go

    		left := (last << (4 + ksRotations[i])) >> 4
    		right := (last << 4) >> (32 - ksRotations[i])
    		out[i] = left | right
    		last = out[i]
    	}
    	return
    }
    
    // creates 16 56-bit subkeys from the original key.
    func (c *desCipher) generateSubkeys(keyBytes []byte) {
    	feistelBoxOnce.Do(initFeistelBox)
    
    	// apply PC1 permutation to key
    	key := byteorder.BeUint64(keyBytes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/crypto/md5/md5block_ppc64x.s

    // Original source:
    //	http://www.zorinaq.com/papers/md5-amd64.html
    //	http://www.zorinaq.com/papers/md5-amd64.tar.bz2
    //
    // MD5 optimized for ppc64le using Go's assembler for
    // ppc64le, based on md5block_amd64.s implementation by
    // the Go authors.
    //
    // Author: Marc Bevand <bevand_m (at) epita.fr>
    // Licence: I hereby disclaim the copyright on this code and place it
    // in the public domain.
    
    //go:build (ppc64 || ppc64le) && !purego
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. test/typeparam/graph.go

    	m1, ok := zork[e.from]
    	if !ok {
    		panic("bad edge")
    	}
    	m2, ok := zork[e.to]
    	if !ok {
    		panic("bad edge")
    	}
    	return m1, m2
    }
    
    // The first maze in Zork. Room indexes based on original Fortran data file.
    // You are in a maze of twisty little passages, all alike.
    var zork = map[int]mazeRoom{
    	11: {exits: [10]int{north: 11, south: 12, east: 14}}, // west to Troll Room
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/crypto/sha512/sha512block_arm64.s

    	MOVD	p_len+16(FP), R2
    	MOVD	ยท_K+0(SB), R3
    
    	// long enough to prefetch
    	PRFM	(R3), PLDL3KEEP
    	// load digest
    	VLD1	(R0), [V8.D2, V9.D2, V10.D2, V11.D2]
    loop:
    	// load digest in V0-V3 keeping original in V8-V11
    	VMOV	V8.B16, V0.B16
    	VMOV	V9.B16, V1.B16
    	VMOV	V10.B16, V2.B16
    	VMOV	V11.B16, V3.B16
    
    	// load message data in V12-V19
    	VLD1.P	64(R1), [V12.D2, V13.D2, V14.D2, V15.D2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix.go

    			// stop immediately instead of trying more names.
    			break
    		}
    	}
    	if err == nil {
    		return p, server, nil
    	}
    	if err, ok := err.(*DNSError); ok {
    		// Show original name passed to lookup, not suffixed one.
    		// In general we might have tried many suffixes; showing
    		// just one is misleading. See also golang.org/issue/6324.
    		err.Name = name
    	}
    	return dnsmessage.Parser{}, "", err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/named.go

    // instantiated types, this is same as the type name of the origin type.
    func (t *Named) Obj() *TypeName {
    	if t.inst == nil {
    		return t.obj
    	}
    	return t.inst.orig.obj
    }
    
    // Origin returns the generic type from which the named type t is
    // instantiated. If t is not an instantiated type, the result is t.
    func (t *Named) Origin() *Named {
    	if t.inst == nil {
    		return t
    	}
    	return t.inst.orig
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. src/index/suffixarray/sais.go

    // a subproblem at most half as big, invokes itself recursively,
    // and then runs a sequence of linear passes to turn the answer
    // for the subproblem into the answer for the original problem.
    // This gives T(N) = O(N) + T(N/2) = O(N) + O(N/2) + O(N/4) + ... = O(N).
    //
    // The outline of the code, with the forward and backward scans
    // through O(N)-sized arrays called out, is:
    //
    // sais_I_N
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top