Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 422 for Hex (0.02 sec)

  1. src/net/netip/slow_test.go

    // where each field should be a hex value from 0 to ffff. This
    // function does not verify the contents of each field.
    //
    // This function performs two transformations:
    //   - The last 32 bits of an IPv6 address may be represented in
    //     IPv4-style dotted quad form, as in 1:2:3:4:5:6:7.8.9.10. That
    //     address is transformed to its hex equivalent,
    //     e.g. 1:2:3:4:5:6:708:90a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/hash/reader_test.go

    		t.Errorf("Expected size 4, got %d", r.ActualSize())
    	}
    	expectedMD5, err := hex.DecodeString("e2fc714c4727ee9395f324cd2e7f331f")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(r.MD5Current(), expectedMD5) {
    		t.Errorf("Expected md5hex \"e2fc714c4727ee9395f324cd2e7f331f\", got %s", hex.EncodeToString(r.MD5Current()))
    	}
    	expectedSHA256, err := hex.DecodeString("88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. src/runtime/export_debuglog_test.go

    func (l *dlogger) I(x int) *dlogger      { return l.i(x) }
    func (l *dlogger) I16(x int16) *dlogger  { return l.i16(x) }
    func (l *dlogger) U64(x uint64) *dlogger { return l.u64(x) }
    func (l *dlogger) Hex(x uint64) *dlogger { return l.hex(x) }
    func (l *dlogger) P(x any) *dlogger      { return l.p(x) }
    func (l *dlogger) S(x string) *dlogger   { return l.s(x) }
    func (l *dlogger) PC(x uintptr) *dlogger { return l.pc(x) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 16:49:45 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

                char ch = str.charAt(i);
    
                // handle unicode
                if (ch > 0xfff) {
                    out.write("\\u" + hex(ch));
                } else if (ch > 0xff) {
                    out.write("\\u0" + hex(ch));
                } else if (ch > 0x7f) {
                    out.write("\\u00" + hex(ch));
                } else if (ch < 32) {
                    switch (ch) {
                        case '\b':
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. src/crypto/ed25519/ed25519vectors_test.go

    	if err != nil {
    		t.Fatalf("failed to read ed25519vectors.json: %v", err)
    	}
    	return jsonVectors
    }
    
    func decodeHex(t *testing.T, s string) []byte {
    	t.Helper()
    	b, err := hex.DecodeString(s)
    	if err != nil {
    		t.Errorf("invalid hex: %v", err)
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 14:52:51 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. pkg/volume/util/attach_limit_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package util
    
    import (
    	"crypto/sha1"
    	"encoding/hex"
    	"testing"
    
    	"k8s.io/api/core/v1"
    	v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    )
    
    func TestGetCSIAttachLimitKey(t *testing.T) {
    	// When driverName is less than 39 characters
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 05 16:29:00 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/dev_linux.go

    // glibc sources:
    //
    // dev_t in glibc is 64-bit, with 32-bit major and minor numbers. glibc's
    // default encoding is MMMM Mmmm mmmM MMmm, where M is a hex digit of the major
    // number and m is a hex digit of the minor number. This is backward compatible
    // with legacy systems where dev_t is 16 bits wide, encoded as MMmm. It is also
    // backward compatible with the Linux kernel, which for some architectures uses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 19:01:58 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_modinfo.txt

    -- x/unused/main.go --
    // The unused binary does not access runtime/debug.modinfo.
    package main
    
    import (
    	"bytes"
    	"encoding/hex"
    	"log"
    	"os"
    
    	_ "rsc.io/quote"
    )
    
    func main() {
    	b, err := os.ReadFile(os.Args[0])
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	infoStart, _ := hex.DecodeString("3077af0c9274080241e1c107e6d618e6")
    	if !bytes.Contains(b, infoStart) {
    		log.Fatal("infoStart not found in binary")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  9. internal/config/crypto_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    import (
    	"bytes"
    	"encoding/hex"
    	"io"
    	"testing"
    
    	"github.com/minio/minio/internal/kms"
    )
    
    var encryptDecryptTests = []struct {
    	Data    []byte
    	Context kms.Context
    }{
    	{
    		Data:    nil,
    		Context: nil,
    	},
    	{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/runtime/symtab.go

    		}
    	}
    
    	min := datap.textAddr(datap.ftab[0].entryoff)
    	max := datap.textAddr(datap.ftab[nftab].entryoff)
    	if datap.minpc != min || datap.maxpc != max {
    		println("minpc=", hex(datap.minpc), "min=", hex(min), "maxpc=", hex(datap.maxpc), "max=", hex(max))
    		throw("minpc or maxpc invalid")
    	}
    
    	for _, modulehash := range datap.modulehashes {
    		if modulehash.linktimehash != *modulehash.runtimehash {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top