Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 422 for Hex (0.16 sec)

  1. test/fixedbugs/issue9036.go

    // Expects to see error messages on 'p' exponents
    // for non-hexadecimal floats.
    
    package main
    
    import "fmt"
    
    const (
    	x1 = 1.1    // float
    	x2 = 1e10   // float
    	x3 = 0x1e10 // integer (e is a hex digit)
    )
    
    const x4 = 0x1p10 // valid hexadecimal float
    const x5 = 1p10   // ERROR "'p' exponent requires hexadecimal mantissa|invalid prefix"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 18:34:40 UTC 2020
    - 805 bytes
    - Viewed (0)
  2. src/strconv/atof.go

    func atof32(s string) (f float32, n int, err error) {
    	if val, n, ok := special(s); ok {
    		return float32(val), n, nil
    	}
    
    	mantissa, exp, neg, trunc, hex, n, ok := readFloat(s)
    	if !ok {
    		return 0, n, syntaxError(fnParseFloat, s)
    	}
    
    	if hex {
    		f, err := atofHex(s[:n], &float32info, mantissa, exp, neg, trunc)
    		return float32(f), n, err
    	}
    
    	if optimize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  3. src/runtime/mpagealloc_64bit.go

    //
    // The caller must update p.start and p.end after calling sysGrow.
    func (p *pageAlloc) sysGrow(base, limit uintptr) {
    	if base%pallocChunkBytes != 0 || limit%pallocChunkBytes != 0 {
    		print("runtime: base = ", hex(base), ", limit = ", hex(limit), "\n")
    		throw("sysGrow bounds not aligned to pallocChunkBytes")
    	}
    
    	// addrRangeToSummaryRange converts a range of addresses into a range
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

        System.out.println("MESSAGE: " + text);
      }
    
      @Override public void onMessage(WebSocket webSocket, ByteString bytes) {
        System.out.println("MESSAGE: " + bytes.hex());
      }
    
      @Override public void onClosing(WebSocket webSocket, int code, String reason) {
        webSocket.close(1000, null);
        System.out.println("CLOSE: " + code + " " + reason);
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/image/png/testdata/pngsuite/basn3p04-31i.sng

        (255,  0,187)     # rgb = (0xff,0x00,0xbb)
        (255,187,  0)     # rgb = (0xff,0xbb,0x00)
        (  0, 68,255)     # rgb = (0x00,0x44,0xff)
        (  0,255, 68)     # rgb = (0x00,0xff,0x44)
    }
    IMAGE {
        pixels hex
    88885555ccccaaaa77773333eeee9990
    88885555ccccaaaa77773333eeee9990
    88885555ccccaaaa77773333eeee9990
    88885555ccccaaaa77773333eeee9990
    5555ccccaaaa77773333eeee99991110
    5555ccccaaaa77773333eeee99991110
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    	}
    	// And don't go outside the stack bounds.
    	if lo < stk.lo {
    		lo = stk.lo
    	}
    	if hi > stk.hi {
    		hi = stk.hi
    	}
    
    	// Print the hex dump.
    	print("stack: frame={sp:", hex(frame.sp), ", fp:", hex(frame.fp), "} stack=[", hex(stk.lo), ",", hex(stk.hi), ")\n")
    	hexdumpWords(lo, hi, func(p uintptr) byte {
    		switch p {
    		case frame.fp:
    			return '>'
    		case frame.sp:
    			return '<'
    		case bad:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/strconv/ftoa.go

    			exp++
    		}
    	}
    
    	hex := lowerhex
    	if fmt == 'X' {
    		hex = upperhex
    	}
    
    	// sign, 0x, leading digit
    	if neg {
    		dst = append(dst, '-')
    	}
    	dst = append(dst, '0', fmt, '0'+byte((mant>>60)&1))
    
    	// .fraction
    	mant <<= 4 // remove leading 0 or 1
    	if prec < 0 && mant != 0 {
    		dst = append(dst, '.')
    		for mant != 0 {
    			dst = append(dst, hex[(mant>>60)&15])
    			mant <<= 4
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/runtime/mpagealloc_32bit.go

    	}
    }
    
    // See mpagealloc_64bit.go for details.
    func (p *pageAlloc) sysGrow(base, limit uintptr) {
    	if base%pallocChunkBytes != 0 || limit%pallocChunkBytes != 0 {
    		print("runtime: base = ", hex(base), ", limit = ", hex(limit), "\n")
    		throw("sysGrow bounds not aligned to pallocChunkBytes")
    	}
    
    	// Walk up the tree and update the summary slices.
    	for l := len(p.summary) - 1; l >= 0; l-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Payload size must be less than or equal to 125",
          )
        }
      }
    
      private fun assertData(hex: String) {
        assertData(hex.decodeHex())
      }
    
      private fun assertData(expected: ByteString) {
        val actual = data.readByteString(Math.min(expected.size.toLong(), data.size))
        assertThat(actual).isEqualTo(expected)
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue14636.go

    	checkLinkOutput("0x", "usage")
    	checkLinkOutput("0x0", "-B argument must have even number of digits")
    	checkLinkOutput("0x00", "usage")
    	checkLinkOutput("0xYZ", "-B argument contains invalid hex digit")
    	checkLinkOutput("0x"+strings.Repeat("00", 32), "usage")
    	checkLinkOutput("0x"+strings.Repeat("00", 33), "-B option too long (max 32 digits)")
    }
    
    func checkLinkOutput(buildid string, message string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top