Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,856 for block1 (0.36 sec)

  1. src/crypto/cipher/cipher_test.go

    	buf := make([]byte, 16)
    	block, _ := aes.NewCipher(buf)
    
    	mode := cipher.NewCBCDecrypter(block, buf)
    	mustPanic(t, "crypto/cipher: input not full blocks", func() { mode.CryptBlocks(buf, buf[:3]) })
    	mustPanic(t, "crypto/cipher: output smaller than input", func() { mode.CryptBlocks(buf[:3], buf) })
    
    	mode = cipher.NewCBCEncrypter(block, buf)
    	mustPanic(t, "crypto/cipher: input not full blocks", func() { mode.CryptBlocks(buf, buf[:3]) })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:42:23 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  2. src/crypto/x509/pem_decrypt.go

    	key := ciph.deriveKey(password, iv[:8])
    	block, err := ciph.cipherFunc(key)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(b.Bytes)%block.BlockSize() != 0 {
    		return nil, errors.New("x509: encrypted PEM data is not a multiple of the block size")
    	}
    
    	data := make([]byte, len(b.Bytes))
    	dec := cipher.NewCBCDecrypter(block, iv)
    	dec.CryptBlocks(data, b.Bytes)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. pkg/volume/util/fs/fs.go

    	if err != nil {
    		return 0, 0, 0, 0, 0, 0, err
    	}
    
    	// Available is blocks available * fragment size
    	available := int64(statfs.Bavail) * int64(statfs.Bsize)
    
    	// Capacity is total block count * fragment size
    	capacity := int64(statfs.Blocks) * int64(statfs.Bsize)
    
    	// Usage is block being used * fragment size (aka block size).
    	usage := (int64(statfs.Blocks) - int64(statfs.Bfree)) * int64(statfs.Bsize)
    
    	inodes := int64(statfs.Files)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 20 02:56:02 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. src/crypto/cipher/gcm.go

    	*y = z
    }
    
    // updateBlocks extends y with more polynomial terms from blocks, based on
    // Horner's rule. There must be a multiple of gcmBlockSize bytes in blocks.
    func (g *gcm) updateBlocks(y *gcmFieldElement, blocks []byte) {
    	for len(blocks) > 0 {
    		y.low ^= byteorder.BeUint64(blocks)
    		y.high ^= byteorder.BeUint64(blocks[8:])
    		g.mul(y)
    		blocks = blocks[gcmBlockSize:]
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/zcse.go

    func zcse(f *Func) {
    	vals := make(map[vkey]*Value)
    
    	for _, b := range f.Blocks {
    		for i := 0; i < len(b.Values); i++ {
    			v := b.Values[i]
    			if opcodeTable[v.Op].argLen == 0 {
    				key := vkey{v.Op, keyFor(v), v.Aux, v.Type}
    				if vals[key] == nil {
    					vals[key] = v
    					if b != f.Entry {
    						// Move v to the entry block so it will dominate every block
    						// where we might use it. This prevents the need for any dominator
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockStore.java

        /**
         * Writes a block to this store, adding the block if required.
         */
        void write(BlockPayload block);
    
        /**
         * Adds a new block to this store. Allocates space for the block, but does not write the contents of the block
         * until {@link #write(BlockPayload)} is called.
         */
        void attach(BlockPayload block);
    
        /**
         * Flushes any pending updates for this store.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerLeaseService.java

         * Runs a given {@link Factory} while the specified locks are being held, releasing
         * the locks upon completion.  Blocks until the specified locks can be obtained.
         */
        <T> T withLocks(Collection<? extends ResourceLock> locks, Factory<T> factory);
    
        /**
         * Runs a given {@link Runnable} while the specified locks are being held, releasing
         * the locks upon completion.  Blocks until the specified locks can be obtained.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/schedule.go

    	// inBlockUses records whether a value is used in the block
    	// in which it lives. (block control values don't count as uses.)
    	inBlockUses := f.Cache.allocBoolSlice(f.NumValues())
    	defer f.Cache.freeBoolSlice(inBlockUses)
    	if f.Config.optimize {
    		for _, b := range f.Blocks {
    			for _, v := range b.Values {
    				for _, a := range v.Args {
    					if a.Block == b {
    						inBlockUses[a.ID] = true
    					}
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. src/internal/chacha8rand/chacha8_stub.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !amd64 && !arm64
    
    #include "textflag.h"
    
    // func block(counter uint64, seed *[8]uint32, blocks *[16][4]uint32)
    TEXT ยทblock(SB), NOSPLIT, $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:32:54 UTC 2023
    - 338 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/html.go

    .dead-value span.highlight-aquamarine,
    .dead-block.highlight-aquamarine,
    .dead-value span.highlight-coral,
    .dead-block.highlight-coral,
    .dead-value span.highlight-lightpink,
    .dead-block.highlight-lightpink,
    .dead-value span.highlight-lightsteelblue,
    .dead-block.highlight-lightsteelblue,
    .dead-value span.highlight-palegreen,
    .dead-block.highlight-palegreen,
    .dead-value span.highlight-skyblue,
    .dead-block.highlight-skyblue,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top