Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 218 of 218 for 0xA0 (0.04 sec)

  1. src/archive/tar/writer_test.go

    		tw := NewWriter(new(bytes.Buffer))
    		hdr := &Header{Name: "dir/", Typeflag: TypeDir}
    		if err := tw.WriteHeader(hdr); err != nil {
    			t.Fatalf("WriteHeader() = %v, want nil", err)
    		}
    		if _, err := tw.Write([]byte{0x00}); err != ErrWriteTooLong {
    			t.Fatalf("Write() = %v, want %v", err, ErrWriteTooLong)
    		}
    	})
    
    	t.Run("NegativeSize", func(t *testing.T) {
    		tw := NewWriter(new(bytes.Buffer))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertNoMoreLogs()
      }
    
      @Test
      fun responseBodyIsBinary() {
        setLevel(Level.BODY)
        val buffer = Buffer()
        buffer.writeUtf8CodePoint(0x89)
        buffer.writeUtf8CodePoint(0x50)
        buffer.writeUtf8CodePoint(0x4e)
        buffer.writeUtf8CodePoint(0x47)
        buffer.writeUtf8CodePoint(0x0d)
        buffer.writeUtf8CodePoint(0x0a)
        buffer.writeUtf8CodePoint(0x1a)
        buffer.writeUtf8CodePoint(0x0a)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoublesTest.java

          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
              escapedInput.append(c);
            } else {
              escapedInput.append(String.format("\\u%04x", (int) c));
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    			// Argsize set below.
    		},
    	}
    	nameAddr.Sym.Func().Text = prog
    	prog.To.Val = int32(argSize)
    	p.append(prog, "", true)
    }
    
    // asmData assembles a DATA pseudo-op.
    // DATA masks<>+0x00(SB)/4, $0x00000000
    func (p *Parser) asmData(operands [][]lex.Token) {
    	if len(operands) != 2 {
    		p.errorf("expect two operands for DATA")
    		return
    	}
    
    	// Operand 0 has the general form foo<>+0x04(SB)/4.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    	}
    
    	return ww.writeFrame(w, frame)
    }
    
    // writeFrame writes frame binary representation into w.
    func (ww *wsWriter) writeFrame(w io.Writer, f ws.Frame) error {
    	const (
    		bit0  = 0x80
    		len7  = int64(125)
    		len16 = int64(^(uint16(0)))
    		len64 = int64(^(uint64(0)) >> 1)
    	)
    
    	bts := ww.tmp[:]
    	if f.Header.Fin {
    		bts[0] |= bit0
    	}
    	bts[0] |= f.Header.Rsv << 4
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	r13 := new(rot13Reader)
    	r13.r = r
    	return r13
    }
    
    func (r13 *rot13Reader) Read(p []byte) (int, error) {
    	n, err := r13.r.Read(p)
    	for i := 0; i < n; i++ {
    		c := p[i] | 0x20 // lowercase byte
    		if 'a' <= c && c <= 'm' {
    			p[i] += 13
    		} else if 'n' <= c && c <= 'z' {
    			p[i] -= 13
    		}
    	}
    	return n, err
    }
    
    // Call ReadByte to accumulate the text of a file
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm64.s

    	MOVD	$0xffffff(R7), R1             // MOVD	$16777215(R7), R1           // e1fc7f9121fc3f91
    	MOVD	$-0x1(R7), R1                 // MOVD	$-1(R7), R1                 // e10400d1
    	MOVD	$-0x30(R7), R1                // MOVD	$-48(R7), R1                // e1c000d1
    	MOVD	$-0x708(R7), R1               // MOVD	$-1800(R7), R1              // e1201cd1
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jul 24 18:45:14 UTC 2024
    - 95.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

        assertFailsWith<IllegalArgumentException> {
          Request.Builder().addHeader("a b", "c")
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0x20 at 1 in header name: a b")
        }
      }
    
      @Test
      fun requestHeaderNameWithTabForbidden() {
        assertFailsWith<IllegalArgumentException> {
          Request.Builder().addHeader("a\tb", "c")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top