Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for single (0.24 sec)

  1. src/bufio/bufio_test.go

    		}
    	}
    	return string(b[0:nb])
    }
    
    func TestReaderSimple(t *testing.T) {
    	data := "hello world"
    	b := NewReader(strings.NewReader(data))
    	if s := readBytes(b); s != "hello world" {
    		t.Errorf("simple hello world test failed: got %q", s)
    	}
    
    	b = NewReader(newRot13Reader(strings.NewReader(data)))
    	if s := readBytes(b); s != "uryyb jbeyq" {
    		t.Errorf("rot13 hello world test failed: got %q", s)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    					Go: &ast.FuncType{
    						Results: &ast.FieldList{List: []*ast.Field{{Type: n.Type.Go}}},
    					},
    				}
    			}
    		}
    		p.mangleName(n)
    		if n.Kind == "type" && typedef[n.Mangle] == nil {
    			typedef[n.Mangle] = n.Type
    		}
    	}
    }
    
    // mangleName does name mangling to translate names
    // from the original Go source files to the names
    // used in the final Go files generated by cgo.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    					t.Errorf("Equal(%d, %d, %d) = false", len, x, y)
    				}
    			}
    		}
    	}
    }
    
    // make sure Equal returns false for minimally different strings. The data
    // is all zeros except for a single one in one location.
    func TestNotEqual(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    
    	for len := 0; len <= size; len++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm64.s

    	FMOVD	1(R1), F2 // 221040fc
    	FMOVD	8(R1), F2 // 220440fd
    	FMOVQ	32(R5), F2 // a208c03d
    	FMOVQ	65520(R10), F10 // 4afdff3d
    	FMOVQ	64(RSP), F11    // eb13c03d
    
    // medium offsets that either fit a single instruction or can use add+ldr/str
    	MOVD -4095(R17), R3                        // 3bfe3fd1630340f9
    	MOVD -391(R17), R3                         // 3b1e06d1630340f9
    	MOVD -257(R17), R3                         // 3b0604d1630340f9
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
Back to top