- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,848 for main2 (0.05 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy
buildFile << """ model { components { main(NativeExecutableSpec) } } """ and: sourceFile = app.mainSource.writeToDir(file("src/main")) sharedHeaderFile = app.libraryHeader.writeToDir(file("src/main")) commonHeaderFile = app.commonHeader.writeToDir(file("src/main")) app.librarySources.each {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 19.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/post-quantize.mlir
%6 = "tfl.dequantize"(%5) : (tensor<1x401408x!quant.uniform<u8:f32, 3.906250e-03>>) -> tensor<1x401408xf32> func.return %6 : tensor<1x401408xf32> } func.func @main2(%arg0: tensor<2x4xf32>, %arg1: tensor<2x4xf32>) -> tensor<2x4xf32> { %0 = "tfl.quantize"(%arg0) {qtype = tensor<2x4x!quant.uniform<u8:f32, 0.49803921568627452>>} : (tensor<2x4xf32>) -> tensor<2x4x!quant.uniform<u8:f32, 0.49803921568627452>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 19.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/cshared_test.go
if GOOS == "darwin" || GOOS == "ios" { linkFlags = "" } runCC(t, "-o", cmd, "main2.c", linkFlags, libname) defer os.Remove(libname) defer os.Remove(bin) out := runExe(t, []string{"LD_LIBRARY_PATH=."}, bin) if strings.TrimSpace(out) != "PASS" { t.Error(out) } } // test3: tests main.main is exported on android. func TestMainExportedOnAndroid(t *testing.T) { globalSkip(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 21K bytes - Viewed (0)