Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 422 for Hex (0.05 sec)

  1. src/crypto/x509/pem_decrypt.go

    // generate a key from the password was derived by looking at the OpenSSL
    // implementation.
    
    import (
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/des"
    	"crypto/md5"
    	"encoding/hex"
    	"encoding/pem"
    	"errors"
    	"io"
    	"strings"
    )
    
    type PEMCipher int
    
    // Possible values for the EncryptPEMBlock encryption algorithm.
    const (
    	_ PEMCipher = iota
    	PEMCipherDES
    	PEMCipher3DES
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. src/crypto/elliptic/elliptic_test.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package elliptic
    
    import (
    	"bytes"
    	"crypto/rand"
    	"encoding/hex"
    	"math/big"
    	"testing"
    )
    
    // genericParamsForCurve returns the dereferenced CurveParams for
    // the specified curve. This is used to avoid the logic for
    // upgrading a curve to its specific implementation, forcing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tls
    
    import (
    	"bufio"
    	"crypto/ed25519"
    	"crypto/x509"
    	"encoding/hex"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"net"
    	"os"
    	"os/exec"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/mime/quotedprintable/reader.go

    		return b - '0', nil
    	case b >= 'A' && b <= 'F':
    		return b - 'A' + 10, nil
    	// Accept badly encoded bytes.
    	case b >= 'a' && b <= 'f':
    		return b - 'a' + 10, nil
    	}
    	return 0, fmt.Errorf("quotedprintable: invalid hex byte 0x%02x", b)
    }
    
    func readHexByte(v []byte) (b byte, err error) {
    	if len(v) < 2 {
    		return 0, io.ErrUnexpectedEOF
    	}
    	var hb, lb byte
    	if hb, err = fromHex(v[0]); err != nil {
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 27 17:00:08 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

                    call: Call,
                    connection: Connection,
                  ) {
                    val sslSocket = connection.socket() as SSLSocket
    
                    sessionIds.add(sslSocket.session.id.toByteString().hex())
                  }
                },
              ),
            )
            .sslSocketFactory(sslSocketFactory, handshakeCertificates.trustManager)
            .build()
    
        server.enqueue(MockResponse(body = "abc1"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/runtime/mgcmark.go

    		if setCheckmark(obj, base, off, mbits) {
    			// Already marked.
    			return
    		}
    	} else {
    		if debug.gccheckmark > 0 && span.isFree(objIndex) {
    			print("runtime: marking free object ", hex(obj), " found at *(", hex(base), "+", hex(off), ")\n")
    			gcDumpObject("base", base, off)
    			gcDumpObject("obj", obj, ^uintptr(0))
    			getg().m.traceback = 2
    			throw("marking free object")
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  7. src/compress/bzip2/bzip2_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bzip2
    
    import (
    	"bytes"
    	"encoding/hex"
    	"fmt"
    	"io"
    	"os"
    	"testing"
    )
    
    func mustDecodeHex(s string) []byte {
    	b, err := hex.DecodeString(s)
    	if err != nil {
    		panic(err)
    	}
    	return b
    }
    
    func mustLoadFile(f string) []byte {
    	b, err := os.ReadFile(f)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            StringBuilder hexString = new StringBuilder();
            for (int i = 0; i < byteData.length; i++) {
                String hex = Integer.toHexString(0xff & byteData[i]);
                if (hex.length() == 1) {
                    hexString.append('0');
                }
                hexString.append(hex);
            }
    
            return hexString.toString();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1.go

    		Hash:      hex.EncodeToString(c.Hash),
    	}
    	return json.Marshal(info)
    }
    
    // UnmarshalJSON - custom checksum info unmarshaller
    func (c *ChecksumInfo) UnmarshalJSON(data []byte) error {
    	var info checksumInfoJSON
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(data, &info); err != nil {
    		return err
    	}
    	sum, err := hex.DecodeString(info.Hash)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. test/fixedbugs/issue9355.go

    		fmt.Println(err)
    		os.Exit(1)
    	}
    	f.Close()
    
    	out := run("go", "tool", "compile", "-p=p", "-o", f.Name(), "-S", "a.go")
    	os.Remove(f.Name())
    
    	// 6g/8g print the offset as dec, but 5g/9g print the offset as hex.
    	patterns := []string{
    		`rel 0\+\d t=R_ADDR p\.x\+8\r?\n`,       // y = &x.b
    		`rel 0\+\d t=R_ADDR p\.x\+(28|1c)\r?\n`, // z = &x.d.q
    		`rel 0\+\d t=R_ADDR p\.b\+5\r?\n`,       // c = &b[5]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top