Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Kissling (0.18 sec)

  1. src/cmd/cgo/internal/swig/swig_test.go

    	// See https://golang.org/issue/23469.
    	output, err := exec.Command(swig, "-go", "-swiglib").Output()
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    	swigDir := strings.TrimSpace(string(output))
    
    	_, err = os.Stat(filepath.Join(swigDir, "go"))
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    
    	// Check that swig has a new enough version.
    	// See https://golang.org/issue/22858.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/api/api_test.go

    		wanted := strings.Split(string(bs), "\n")
    		sort.Strings(wanted)
    		for _, feature := range wanted {
    			if feature == "" {
    				continue
    			}
    			_, ok := w.features[feature]
    			if !ok {
    				t.Errorf("package %s: missing feature %q", fi.Name(), feature)
    			}
    			delete(w.features, feature)
    		}
    
    		for _, feature := range w.Features() {
    			t.Errorf("package %s: extra feature not in golden file: %q", fi.Name(), feature)
    		}
    	}
    }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    		return
    	}
    	for _, c := range n.Doc.List {
    		if !strings.HasPrefix(c.Text, "//export ") {
    			continue
    		}
    
    		name := strings.TrimSpace(c.Text[9:])
    		if name == "" {
    			error_(c.Pos(), "export missing name")
    		}
    
    		if name != n.Name.Name {
    			error_(c.Pos(), "export comment has wrong name %q, want %q", name, n.Name.Name)
    		}
    
    		doc := ""
    		for _, c1 := range n.Doc.List {
    			if c1 != c {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </p>
    
    <pre>
    s[0] == 2
    s[1] == 3
    s[2] == 4
    </pre>
    
    <p>
    For convenience, any of the indices may be omitted. A missing <code>low</code>
    index defaults to zero; a missing <code>high</code> index defaults to the length of the
    sliced operand:
    </p>
    
    <pre>
    a[2:]  // same as a[2 : len(a)]
    a[:3]  // same as a[0 : 3]
    a[:]   // same as a[0 : len(a)]
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/operand_test.go

    	{"retlo+12(FP)", "retlo+12(FP)"},
    	{"runtime·gogo(SB)", "runtime.gogo(SB)"},
    	{"·AddUint32(SB)", "pkg.AddUint32(SB)"},
    	{"(R1, R3)", "(R1, R3)"},
    	{"[R0,R1,g,R15", ""}, // Issue 11764 - asm hung parsing ']' missing register lists.
    	{"[):[o-FP", ""},     // Issue 12469 - there was no infinite loop for ARM; these are just sanity checks.
    	{"[):[R0-FP", ""},
    	{"(", ""}, // Issue 12466 - backed up before beginning of line.
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    is okay, because cmd/link also processes the cgo_import_static directive and
    knows that _cgo_gcc_Cfunc_sin is expected to be supplied by a host
    object file, so cmd/link does not treat the missing symbol as an error when
    creating go.o. Indeed, the definition for _cgo_gcc_Cfunc_sin will be
    provided to the host linker by foo2.cgo.o, which in turn will need the
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/callback.go

    	callbackMutex.Unlock()
    }
    
    //export goCallback
    func goCallback(p unsafe.Pointer) {
    	i := *(*int)(p)
    
    	callbackMutex.Lock()
    	f := callbackFuncs[i]
    	callbackMutex.Unlock()
    
    	if f == nil {
    		panic("missing callback function")
    	}
    	f()
    }
    
    func testCallback(t *testing.T) {
    	var x = false
    	nestedCall(func() { x = true })
    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callstub_linux_ppc64le.go

    // int TestPPC64Stubs(void) {
    //	return notoc_func();
    // }
    import "C"
    import "testing"
    
    func testPPC64CallStubs(t *testing.T) {
    	// Verify the trampolines run on the testing machine. If they
    	// do not, or are missing, a crash is expected.
    	if C.TestPPC64Stubs() != 0 {
    		t.Skipf("This test requires binutils 2.35 or newer.")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 22 15:06:17 GMT 2023
    - 540 bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    				operands[colon], operands[colon+1] = operands[colon+1], operands[colon]
    				colon = -1
    			}
    		} else if len(operands) > 0 || tok == ',' || colon >= 0 {
    			// Had a separator with nothing after.
    			p.errorf("missing operand")
    		}
    	}
    	return word, cond, operands, true
    }
    
    func (p *Parser) instruction(op obj.As, word, cond string, operands [][]lex.Token) {
    	p.addr = p.addr[0:0]
    	p.isJump = p.arch.IsJump(word)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/archive/zip/zip_test.go

    		Name:   filename,
    		Method: Deflate,
    		Extra:  []byte(ts.Format(time.RFC3339Nano)), // missing tag and len, but Extra is best-effort parsing
    	}
    	h.SetModTime(ts)
    
    	testValidHeader(&h, t)
    }
    
    func TestHeaderTooShort(t *testing.T) {
    	h := FileHeader{
    		Name:   "foo.txt",
    		Method: Deflate,
    		Extra:  []byte{zip64ExtraID}, // missing size and second half of tag, but Extra is best-effort parsing
    	}
    	testValidHeader(&h, t)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top