Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,301 for main1 (0.06 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/main3.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test os/signal.Notify and os/signal.Reset.
    // This is a lot like ../testcshared/main5.c.
    
    #include <signal.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <sched.h>
    #include <unistd.h>
    #include <pthread.h>
    
    #include "libgo3.h"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcshared/testdata/main5.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that a signal handler works in non-Go code when using
    // os/signal.Notify.
    // This is a lot like ../testcarchive/main3.c.
    
    #include <signal.h>
    #include <stdbool.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <sched.h>
    #include <dlfcn.h>
    
    static void die(const char* msg) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/testdata/main4.c

    // license that can be found in the LICENSE file.
    
    // Test that a signal handler that uses up stack space does not crash
    // if the signal is delivered to a thread running a goroutine.
    // This is a lot like ../testcarchive/main2.c.
    
    #include <setjmp.h>
    #include <signal.h>
    #include <stddef.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    #include <unistd.h>
    #include <sched.h>
    #include <time.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test installing a signal handler before the Go code starts.
    // This is a lot like ../testcshared/main4.c.
    
    #include <setjmp.h>
    #include <signal.h>
    #include <stdarg.h>
    #include <stddef.h>
    #include <stdio.h>
    #include <stdint.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    #include <unistd.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/main0.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main()
    func main /* ERROR "no arguments and no return values" */ /* ERROR "redeclared" */ (int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 365 bytes
    - Viewed (0)
  6. pkg/ctrlz/assets/templates/layouts/main.html

    {{ define "main" }}
    <main>
        <div class="container-fluid">
            <div class="row row-offcanvas">
                <div class="col-0 col-md-3 col-xl-2 sidebar-offcanvas">
                    {{ template "sidebar" . }}
                </div>
    
                <div class="col-12 col-md-9 col-xl-10">
                    <main aria-labelledby="title">
                        <h1 id="title">{{template "title" .}}</h1>
                        {{ template "content" . }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 528 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/testdata/issue18676/main.go

    // license that can be found in the LICENSE file.
    
    // The bug happened like this:
    //  1. The main binary adds an itab for *json.UnsupportedValueError / error
    //     (concrete type / interface type).  This itab goes in hash bucket 0x111.
    //  2. The plugin adds that same itab again.  That makes a cycle in the itab
    //     chain rooted at hash bucket 0x111.
    //  3. The main binary then asks for the itab for *dynamodbstreamsevt.Event /
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/testdata/main9.c

    #include "libgo9.h"
    
    void use(int *x) { (*x)++; }
    
    void callGoFWithDeepStack() {
    	int x[10000];
    
    	use(&x[0]);
    	use(&x[9999]);
    
    	GoF();
    
    	use(&x[0]);
    	use(&x[9999]);
    }
    
    int main() {
    	GoF();                  // call GoF without using much stack
    	callGoFWithDeepStack(); // call GoF with a deep stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 460 bytes
    - Viewed (0)
  9. src/go/build/testdata/other/main.go

    // Test data - not compiled.
    
    package main
    
    import (
    	"./file"
    )
    
    func main() {
    	file.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 92 bytes
    - Viewed (0)
  10. src/cmd/compile/main.go

    	"s390x":    s390x.Init,
    	"wasm":     wasm.Init,
    }
    
    func main() {
    	// disable timestamps for reproducible output
    	log.SetFlags(0)
    	log.SetPrefix("compile: ")
    
    	buildcfg.Check()
    	archInit, ok := archInits[buildcfg.GOARCH]
    	if !ok {
    		fmt.Fprintf(os.Stderr, "compile: unknown architecture %q\n", buildcfg.GOARCH)
    		os.Exit(2)
    	}
    
    	gc.Main(archInit)
    	base.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 18:14:52 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top