Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for rdat (0.06 sec)

  1. src/io/pipe_test.go

    }
    
    func TestPipe3(t *testing.T) {
    	c := make(chan pipeReturn)
    	r, w := Pipe()
    	var wdat = make([]byte, 128)
    	for i := 0; i < len(wdat); i++ {
    		wdat[i] = byte(i)
    	}
    	go writer(w, wdat, c)
    	var rdat = make([]byte, 1024)
    	tot := 0
    	for n := 1; n <= 256; n *= 2 {
    		nn, err := r.Read(rdat[tot : tot+n])
    		if err != nil && err != EOF {
    			t.Fatalf("read: %v", err)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/image/png/paeth_test.go

    	return c
    }
    
    // slowFilterPaeth is a slow but simple implementation of func filterPaeth.
    func slowFilterPaeth(cdat, pdat []byte, bytesPerPixel int) {
    	for i := 0; i < bytesPerPixel; i++ {
    		cdat[i] += paeth(0, pdat[i], 0)
    	}
    	for i := bytesPerPixel; i < len(cdat); i++ {
    		cdat[i] += paeth(cdat[i-bytesPerPixel], pdat[i], pdat[i-bytesPerPixel])
    	}
    }
    
    func TestPaeth(t *testing.T) {
    	for a := 0; a < 256; a += 15 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.2K bytes
    - Viewed (0)
  3. src/image/png/paeth.go

    		return b
    	}
    	return c
    }
    
    // filterPaeth applies the Paeth filter to the cdat slice.
    // cdat is the current row's data, pdat is the previous row's data.
    func filterPaeth(cdat, pdat []byte, bytesPerPixel int) {
    	var a, b, c, pa, pb, pc int
    	for i := 0; i < bytesPerPixel; i++ {
    		a, c = 0, 0
    		for j := i; j < len(cdat); j += bytesPerPixel {
    			b = int(pdat[j])
    			pa = b - c
    			pb = a - c
    			pc = abs(pa + pb)
    			pa = abs(pa)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.7K bytes
    - Viewed (0)
  4. src/regexp/testdata/basic.dat

    Russ Cox <******@****.***> 1620744764 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  5. src/regexp/testdata/repetition.dat

    Russ Cox <******@****.***> 1410149331 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 6.6K bytes
    - Viewed (0)
  6. src/regexp/testdata/nullsubexpr.dat

    Jes Cok <******@****.***> 1687506468 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/runtime/profbuf_test.go

    		return func() { <-c }
    	}
    	readEOF := func(t *testing.T, b *ProfBuf) {
    		rdata, rtags, eof := b.Read(ProfBufBlocking)
    		if rdata != nil || rtags != nil || !eof {
    			t.Errorf("unexpected profile read: %#x, %#x, eof=%v; want nil, nil, eof=true", rdata, rtags, eof)
    		}
    		rdata, rtags, eof = b.Read(ProfBufNonBlocking)
    		if rdata != nil || rtags != nil || !eof {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 20:04:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. src/crypto/sha1/sha1block_arm.s

    // Total size +4 for saved LR is 352
    
    	// w[i] = p[j]<<24 | p[j+1]<<16 | p[j+2]<<8 | p[j+3]
    	// e += w[i]
    #define LOAD(Re) \
    	MOVBU	2(Rdata), Rt0 ; \
    	MOVBU	3(Rdata), Rt1 ; \
    	MOVBU	1(Rdata), Rt2 ; \
    	ORR	Rt0<<8, Rt1, Rt0	    ; \
    	MOVBU.P	4(Rdata), Rt1 ; \
    	ORR	Rt2<<16, Rt0, Rt0	    ; \
    	ORR	Rt1<<24, Rt0, Rt0	    ; \
    	MOVW.P	Rt0, 4(Rw)		    ; \
    	ADD	Rt0, Re, Re
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/crypto/md5/md5block_arm.s

    		// 3 words at 4..12(R13) for called routine parameters
    
    TEXT	·block(SB), NOSPLIT, $84-16
    	MOVW	p+4(FP), Rdata	// pointer to the data
    	MOVW	p_len+8(FP), Rt0	// number of bytes
    	ADD	Rdata, Rt0
    	MOVW	Rt0, p_end	// pointer to end of data
    
    loop:
    	MOVW	Rdata, p_data	// Save Rdata
    	AND.S	$3, Rdata, Rt0	// TST $3, Rdata not working see issue 5921
    	BEQ	aligned			// aligned detected - skip copy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/log/log_test.go

    	{Ldate | Ltime | Lmicroseconds | Lshortfile, "XXX", "XXX" + Rdate + " " + Rtime + Rmicroseconds + " " + Rshortfile + " "},
    	{Ldate | Ltime | Lmicroseconds | Llongfile | Lmsgprefix, "XXX", Rdate + " " + Rtime + Rmicroseconds + " " + Rlongfile + " XXX"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 20:04:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top