Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 422 for Hex (0.02 sec)

  1. src/runtime/stkframe.go

    			// doesn't have locals yet, but we
    			// also know its argument map is
    			// empty.
    			if frame.pc != f.entry() {
    				print("runtime: confused by ", funcname(f), ": no frame (sp=", hex(frame.sp), " fp=", hex(frame.fp), ") at entry+", hex(frame.pc-f.entry()), "\n")
    				throw("reflect mismatch")
    			}
    			return bitvector{}, false // No locals, so also no stack objects
    		}
    		hasReflectStackObj = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/badtraceback.go

    	// Out of an abundance of caution, also make sure that there are
    	// no GCs actively in progress.
    	runtime.GC()
    
    	// Run badLR1 on its own stack to minimize the stack size and
    	// exercise the stack bounds logic in the hex dump.
    	go badLR1()
    	select {}
    }
    
    //go:noinline
    func badLR1() {
    	// We need two frames on LR machines because we'll smash this
    	// frame's saved LR.
    	badLR2(0)
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 23:02:28 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. internal/crypto/key_test.go

    	for i, test := range derivePartKeyTest {
    		expectedPartKey, err := hex.DecodeString(test.PartKey)
    		if err != nil {
    			t.Fatalf("Test %d failed to decode expected part-key: %v", i, err)
    		}
    		partKey := key.DerivePartKey(test.PartID)
    		if !bytes.Equal(partKey[:], expectedPartKey) {
    			t.Errorf("Test %d derives wrong part-key: got '%s' want: '%s'", i, hex.EncodeToString(partKey[:]), test.PartKey)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 02 00:13:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/runtime/print.go

    		if i%16 == 0 {
    			if i != 0 {
    				println()
    			}
    			print(hex(p+i), ": ")
    		}
    
    		if mark != nil {
    			markbuf[0] = mark(p + i)
    			if markbuf[0] == 0 {
    				markbuf[0] = ' '
    			}
    		}
    		gwrite(markbuf[:])
    		val := *(*uintptr)(unsafe.Pointer(p + i))
    		print(hex(val))
    		print(" ")
    
    		// Can we symbolize val?
    		fn := findfunc(val)
    		if fn.valid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/secretbox/secretbox_test.go

    				switch {
    				case l == 0:
    					if len(result) != 0 {
    						t.Errorf("Round trip failed len=%d\noriginal:\n%s\nresult:\n%s", l, hex.Dump(original), hex.Dump(result))
    					}
    				case !reflect.DeepEqual(original, result):
    					t.Errorf("Round trip failed len=%d\noriginal:\n%s\nresult:\n%s", l, hex.Dump(original), hex.Dump(result))
    				}
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 16:31:31 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  6. internal/hash/reader.go

    	MD5, err := hex.DecodeString(md5Hex)
    	if err != nil {
    		return nil, BadDigest{ // TODO(aead): Return an error that indicates that an invalid ETag has been specified
    			ExpectedMD5:   md5Hex,
    			CalculatedMD5: "",
    		}
    	}
    	SHA256, err := hex.DecodeString(sha256Hex)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/edwards25519_test.go

    	// These are the coordinates of B from RFC 8032, Section 5.1, converted to
    	// little endian hex.
    	x := "1ad5258f602d56c9b2a7259560c72c695cdcd6fd31e2a4c0fe536ecdd3366921"
    	y := "5866666666666666666666666666666666666666666666666666666666666666"
    	if got := hex.EncodeToString(B.x.Bytes()); got != x {
    		t.Errorf("wrong B.x: got %s, expected %s", got, x)
    	}
    	if got := hex.EncodeToString(B.y.Bytes()); got != y {
    		t.Errorf("wrong B.y: got %s, expected %s", got, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  8. src/runtime/mcheckmark.go

    // already checkmarked.
    func setCheckmark(obj, base, off uintptr, mbits markBits) bool {
    	if !mbits.isMarked() {
    		printlock()
    		print("runtime: checkmarks found unexpected unmarked object obj=", hex(obj), "\n")
    		print("runtime: found obj at *(", hex(base), "+", hex(off), ")\n")
    
    		// Dump the source (base) object
    		gcDumpObject("base", base, off)
    
    		// Dump the object
    		gcDumpObject("obj", obj, ^uintptr(0))
    
    		getg().m.traceback = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/crypto/rsa/example_test.go

    // license that can be found in the LICENSE file.
    
    package rsa_test
    
    import (
    	"crypto"
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/sha256"
    	"encoding/hex"
    	"fmt"
    	"os"
    )
    
    // RSA is able to encrypt only a very limited amount of data. In order
    // to encrypt reasonable amounts of data a hybrid scheme is commonly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:52:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/encoding/asn1/marshal_test.go

    		if err != nil {
    			t.Errorf("#%d failed: %s", i, err)
    		}
    		out, _ := hex.DecodeString(test.out)
    		if !bytes.Equal(out, data) {
    			t.Errorf("#%d got: %x want %x\n\t%q\n\t%q", i, data, out, data, out)
    
    		}
    	}
    }
    
    type marshalWithParamsTest struct {
    	in     any
    	params string
    	out    string // hex encoded
    }
    
    var marshalWithParamsTests = []marshalWithParamsTest{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 10K bytes
    - Viewed (0)
Back to top