Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for original (0.28 sec)

  1. 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)
  2. 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)
  3. src/io/fs/fs.go

    	Type() FileMode
    
    	// Info returns the FileInfo for the file or subdirectory described by the entry.
    	// The returned FileInfo may be from the time of the original directory read
    	// or from the time of the call to Info. If the file has been removed or renamed
    	// since the directory read, Info may return an error satisfying errors.Is(err, ErrNotExist).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    //	uppercase mapping bytes
    //	titlecase mapping bytes
    //	closure mapping bytes (for NFKC_Casefold). (TODO)
    //
    // Fallbacks:
    //
    //	missing fold  -> lower
    //	missing title -> upper
    //	all missing   -> original rune
    //
    // exceptions starts with a dummy byte to enforce that there is no zero index
    // value.
    const (
    	lengthMask = 0x07
    	lengthBits = 3
    	noChange   = 0
    )
    
    // References to generated trie.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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/runtime/time_fake.go

    	// First, lock to avoid interleaving writes.
    	lock(&faketimeState.lock)
    
    	// If the current fd doesn't match the fd of the previous write,
    	// ensure that the timestamp is strictly greater. That way, we can
    	// recover the original order even if we read the fds separately.
    	t := faketimeState.lastfaketime
    	if fd != faketimeState.lastfd {
    		t++
    		faketimeState.lastfd = fd
    	}
    	if faketime > t {
    		t = faketime
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/labels.go

    		}
    		if x == 20 {
    			continue L1 /* ERROR "invalid continue label L1" */
    		}
    		if x == 21 {
    			goto L1
    		}
    	}
    }
    
    // Additional tests not in the original files.
    
    func f2() {
    L1 /* ERROR "label L1 declared and not used" */ :
    	if x == 0 {
    		for {
    			continue L1 /* ERROR "invalid continue label L1" */
    		}
    	}
    }
    
    func f3() {
    L1:
    L2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/strconv/ctoa.go

    // formatted according to the format fmt and precision prec.
    //
    // The format fmt and precision prec have the same meaning as in [FormatFloat].
    // It rounds the result assuming that the original was obtained from a complex
    // value of bitSize bits, which must be 64 for complex64 and 128 for complex128.
    func FormatComplex(c complex128, fmt byte, prec, bitSize int) string {
    	if bitSize != 64 && bitSize != 128 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top