Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,301 for main2 (0.05 sec)

  1. src/cmd/cgo/internal/testcshared/testdata/main2.c

    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <unistd.h>
    
    #define fd (30)
    
    // Tests libgo2.so, which does not export any functions.
    // Read a string from the file descriptor and print it.
    int main(void) {
      int i;
      ssize_t n;
      char buf[20];
      struct timespec ts;
    
      // The descriptor will be initialized in a thread, so we have to
      // give a chance to get opened.
      for (i = 0; i < 200; i++) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. 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)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
            assertOneCompilerDaemonIsRunning()
    
            when:
            executer.withWorkerDaemonsExpirationDisabled()
            succeeds("clean", "compileAll")
    
            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue19275.go

    //go:noinline
    func f(x *byte, m map[string]*bool) {
    	if err := g(x, *m["hello"]); err != nil { // this was miscompiled
    		return
    	}
    }
    
    func main2() {
    	m := make(map[string]*bool)
    	x := false
    	m["hello"] = &x
    	b := byte(17)
    	f(&b, m)
    }
    
    func main() {
    	main2()
    	main1()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 25 04:53:23 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy

            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
            assertOneCompilerDaemonIsRunning()
    
            when:
            executer.withWorkerDaemonsExpirationDisabled()
            succeeds("clean", "compileAll")
    
            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCompilerDaemonReuseIntegrationTest.groovy

            component.writeSources(file("src/main"))
            component.writeSources(child.file("src/main"))
            settingsFile << """
                include ":child"
            """
        }
    
        def withSingleProjectSources() {
            component.writeSources(file("src/main"))
            component.writeSources(file("src/main2"))
            buildFile << newSourceSet("main2")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/dupLoad_test.go

    			if x&0xff00 != y&0xff00 {
    				t.Errorf("x=%x y=%x\n", x, y)
    				done <- false
    				return
    			}
    		}
    		done <- true
    	}()
    	<-done
    	<-done
    }
    
    func TestDupLoad(t *testing.T) {
    	main1(t)
    	main2(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/functional-while-ops.pbtxt

          }
        }
      }
      experimental_debug_info {
      }
    }
    node {
      name: "main"
      op: "_Retval"
      input: "StatefulWhile:1"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    node {
      name: "main1"
      op: "_Retval"
      input: "StatelessWhile:1"
      attr {
        key: "T"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 15 19:42:47 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/OutputCleaningCompilerTest.groovy

                return workResult
            }
        }
    
        def "deletes output files and according hash directory"() {
            setup:
            sourceFiles = Arrays.asList(tmpDirProvider.file("src/main/c/main.c"), tmpDirProvider.file("src/main/c/foo/main2.c"))
            when:
            compile(sourceFiles[0], sourceFiles[1])
            then:
            outputDir.listFiles().size() == 2
    
            when:
            compile(sourceFiles[0])
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. 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)
Back to top