Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for DEC (0.29 sec)

  1. src/net/mail/message.go

    			comment += p.s[:1]
    		}
    		p.s = p.s[1:]
    	}
    
    	return comment, depth == 0
    }
    
    func (p *addrParser) decodeRFC2047Word(s string) (word string, isEncoded bool, err error) {
    	dec := p.dec
    	if dec == nil {
    		dec = &rfc2047Decoder
    	}
    
    	// Substitute our own CharsetReader function so that we can tell
    	// whether an error from the Decode method was due to the
    	// CharsetReader (meaning the charset is invalid).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. internal/config/subnet/config.go

    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   config.License, // Deprecated Dec 2021
    		Value: "",
    	},
    	config.KV{
    		Key:   config.APIKey,
    		Value: "",
    	},
    	config.KV{
    		Key:   config.Proxy,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    type Config struct {
    	// The subnet license token - Deprecated Dec 2021
    	License string `json:"license"`
    
    	// The subnet api key
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/unicode/utf16/utf16_test.go

    					t.Errorf("EncodeRune(%#x) = %#x, %#x; want %#x, %#x", r, r1, r2, tt.out[j], tt.out[j+1])
    				}
    				j += 2
    				dec := DecodeRune(r1, r2)
    				if dec != r {
    					t.Errorf("DecodeRune(%#x, %#x) = %#x; want %#x", r1, r2, dec, r)
    				}
    			}
    		}
    		if j != len(tt.out) {
    			t.Errorf("#%d: EncodeRune didn't generate enough output", i)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/aes.go

    func (k aesKeySizeError) Error() string {
    	return "crypto/aes: invalid key size " + strconv.Itoa(int(k))
    }
    
    const aesBlockSize = 16
    
    type aesCipher struct {
    	key []byte
    	enc C.GO_AES_KEY
    	dec C.GO_AES_KEY
    }
    
    type extraModes interface {
    	// Copied out of crypto/aes/modes.go.
    	NewCBCEncrypter(iv []byte) cipher.BlockMode
    	NewCBCDecrypter(iv []byte) cipher.BlockMode
    	NewCTR(iv []byte) cipher.Stream
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. cmd/untar.go

    		}
    		defer gz.Close()
    		r = gz
    	case formatS2:
    		r = s2.NewReader(bf)
    	case formatZstd:
    		// Limit to 16 MiB per stream.
    		dec, err := zstd.NewReader(bf, zstd.WithDecoderMaxWindow(16<<20))
    		if err != nil {
    			return err
    		}
    		defer dec.Close()
    		r = dec
    	case formatBZ2:
    		ctx, cancel := context.WithCancel(ctx)
    		defer cancel()
    		r = pbzip2.NewReader(ctx, bf, pbzip2.DecompressionOptions(
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/crypto/aes/asm_amd64.s

    	MOVUPS 144(AX), X1
    	AESDECLAST X1, X0
    	MOVUPS X0, 0(DX)
    	RET
    
    // func expandKeyAsm(nr int, key *byte, enc, dec *uint32) {
    // Note that round keys are stored in uint128 format, not uint32
    TEXT ·expandKeyAsm(SB),NOSPLIT,$0
    	MOVQ nr+0(FP), CX
    	MOVQ key+8(FP), AX
    	MOVQ enc+16(FP), BX
    	MOVQ dec+24(FP), DX
    	MOVUPS (AX), X0
    	// enc
    	MOVUPS X0, (BX)
    	ADDQ $16, BX
    	PXOR X4, X4 // _expand_key_* expect X4 to be zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/Uncompress.kt

    import okhttp3.Response
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.internal.http.promisesBody
    import okio.GzipSource
    import okio.buffer
    import okio.source
    import org.brotli.dec.BrotliInputStream
    
    fun uncompress(response: Response): Response {
      if (!response.promisesBody()) {
        return response
      }
      val body = response.body
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 13:19:01 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/crypto/rsa/rsa.go

    		bN, bE, bD, bP, bQ, bDp, bDq, bQinv, err := boring.GenerateKeyRSA(bits)
    		if err != nil {
    			return nil, err
    		}
    		N := bbig.Dec(bN)
    		E := bbig.Dec(bE)
    		D := bbig.Dec(bD)
    		P := bbig.Dec(bP)
    		Q := bbig.Dec(bQ)
    		Dp := bbig.Dec(bDp)
    		Dq := bbig.Dec(bDq)
    		Qinv := bbig.Dec(bQinv)
    		e64 := E.Int64()
    		if !E.IsInt64() || int64(int(e64)) != e64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. src/net/rpc/client.go

    		return
    	}
    	return c.encBuf.Flush()
    }
    
    func (c *gobClientCodec) ReadResponseHeader(r *Response) error {
    	return c.dec.Decode(r)
    }
    
    func (c *gobClientCodec) ReadResponseBody(body any) error {
    	return c.dec.Decode(body)
    }
    
    func (c *gobClientCodec) Close() error {
    	return c.rwc.Close()
    }
    
    // DialHTTP connects to an HTTP RPC server at the specified network address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. cmd/http-stats.go

    		return
    	}
    	stats.Lock()
    	defer stats.Unlock()
    	if stats.apiStats == nil {
    		stats.apiStats = make(map[string]int)
    	}
    	stats.apiStats[api]++
    }
    
    // Dec increments the api stats counter.
    func (stats *HTTPAPIStats) Dec(api string) {
    	if stats == nil {
    		return
    	}
    	stats.Lock()
    	defer stats.Unlock()
    	if val, ok := stats.apiStats[api]; ok && val > 0 {
    		stats.apiStats[api]--
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top