Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 245 for cmdtest (0.12 sec)

  1. src/cmd/cgo/internal/test/issue43639.go

    // Copyright 2021 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.
    
    //go:build cgo
    
    package cgotest
    
    // Issue 43639: No runtime test needed, make sure package cmd/cgo/internal/test/issue43639 compiles well.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 344 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/gcc68255.go

    // Copyright 2015 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.
    
    //go:build cgo
    
    package cgotest
    
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/gcc68255"
    )
    
    func testGCC68255(t *testing.T) {
    	if !gcc68255.F() {
    		t.Error("C global variable was not initialized")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 361 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue8756.go

    // Copyright 2016 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 cgotest
    
    /*
    #cgo !darwin LDFLAGS: -lm
    #include <math.h>
    */
    import "C"
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/issue8756"
    )
    
    func test8756(t *testing.T) {
    	issue8756.Pow()
    	C.pow(1, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 359 bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      private MapTestSuiteBuilderTests() {}
    
      public static Test suite() {
        TestSuite suite = new TestSuite(MapTestSuiteBuilderTests.class.getSimpleName());
        suite.addTest(testsForHashMapNullKeysForbidden());
        suite.addTest(testsForHashMapNullValuesForbidden());
        suite.addTest(testsForSetUpTearDown());
        return suite;
      }
    
      private abstract static class WrappedHashMapGenerator extends TestStringMapGenerator {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue8828.go

    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 8828: compiling a file with -compiler=gccgo fails if a .c file
    // has the same name as compiled directory.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue8828"
    
    func p() {
    	issue8828.Bar()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 382 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            }
        }
    
        public JobProcess startProcess(final String sessionId, final List<String> cmdList, final Consumer<ProcessBuilder> pbCall) {
            return startProcess(sessionId, cmdList, pbCall, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        public synchronized JobProcess startProcess(final String sessionId, final List<String> cmdList, final Consumer<ProcessBuilder> pbCall,
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue6997_linux.go

    // license that can be found in the LICENSE file.
    
    //go:build !android
    
    // Test that pthread_cancel works as expected
    // (NPTL uses SIGRTMIN to implement thread cancellation)
    // See https://golang.org/issue/6997
    package cgotest
    
    /*
    #cgo CFLAGS: -pthread
    #cgo LDFLAGS: -pthread
    extern int StartThread();
    extern int CancelThread();
    */
    import "C"
    
    import (
    	"testing"
    	"time"
    )
    
    func test6997(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 879 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
          String name, ByteSinkFactory factory, String string, String desc) {
        byte[] bytes = string.getBytes(Charsets.UTF_8);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/cgo_thread_lock.go

    // Copyright 2016 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.
    
    //go:build linux
    
    package cgotest
    
    /*
    #include <unistd.h>
    #include <stdbool.h>
    #include <sys/syscall.h>
    void Gosched(void);
    static bool Ctid(void) {
    	long tid1 = syscall(SYS_gettid);
    	Gosched();
    	return tid1 == syscall(SYS_gettid);
    }
    */
    import "C"
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 16:55:07 UTC 2023
    - 939 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/callstub_linux_ppc64le.go

    // Copyright 2023 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 cgotest
    
    // extern int notoc_func(void);
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 540 bytes
    - Viewed (0)
Back to top