Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 749 for testone (0.16 sec)

  1. src/cmd/nm/nm_cgo_test.go

    package main
    
    import (
    	"internal/testenv"
    	"testing"
    )
    
    func TestInternalLinkerCgoExec(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testenv.MustInternalLink(t, true)
    	testGoExec(t, true, false)
    }
    
    func TestExternalLinkerCgoExec(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testGoExec(t, true, true)
    }
    
    func TestCgoLib(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testGoLib(t, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 16:34:21 UTC 2023
    - 533 bytes
    - Viewed (0)
  2. src/cmd/objdump/objdump_test.go

    			ok = false
    		}
    	}
    
    	if !ok || testing.Verbose() {
    		t.Logf("full disassembly:\n%s", text)
    	}
    }
    
    func testGoAndCgoDisasm(t *testing.T, printCode bool, printGnuAsm bool) {
    	t.Parallel()
    	testDisasm(t, "fmthello.go", printCode, printGnuAsm)
    	if testenv.HasCGO() {
    		testDisasm(t, "fmthellocgo.go", printCode, printGnuAsm)
    	}
    }
    
    func TestDisasm(t *testing.T) {
    	testGoAndCgoDisasm(t, false, false)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle_test.go

    	}
    }
    
    // TestRestoreObjOnDisk tests restoreObjStatus' OnDisk method
    func TestRestoreObjOnDisk(t *testing.T) {
    	testCases := []struct {
    		restoreStatus restoreObjStatus
    		ondisk        bool
    	}{
    		{
    			// restore in progress
    			restoreStatus: ongoingRestoreObj(),
    			ondisk:        false,
    		},
    		{
    			// restore completed but expired
    			restoreStatus: completedRestoreObj(time.Now().Add(-time.Hour)),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/inst_test.go

    package test
    
    import (
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"regexp"
    	"testing"
    )
    
    // TestInst tests that only one instantiation of Sort is created, even though generic
    // Sort is used for multiple pointer types across two packages.
    func TestInst(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveGoRun(t)
    
    	// Build ptrsort.go, which uses package mysort.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/elf_test.go

    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			if test.mustInternalLink {
    				testenv.MustInternalLink(t, test.mustHaveCGO)
    			}
    			if test.mustHaveCGO {
    				testenv.MustHaveCGO(t)
    			}
    			if test.mustHaveBuildModePIE {
    				testenv.MustHaveBuildMode(t, "pie")
    			}
    			if test.mustHaveBuildModePIE && test.mustInternalLink {
    				testenv.MustInternalLinkPIE(t)
    			}
    
    			var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/short_test.go

    // TestShortCircuit tests OANDAND and OOROR expressions and short circuiting.
    func TestShortCircuit(t *testing.T) {
    	testAnd(t, false, false, false)
    	testAnd(t, false, true, false)
    	testAnd(t, true, false, false)
    	testAnd(t, true, true, true)
    
    	testOr(t, false, false, false)
    	testOr(t, false, true, true)
    	testOr(t, true, false, true)
    	testOr(t, true, true, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy

            0 * javaUtilLoggingSystem._
    
            when:
            loggingManager.stop()
    
            then:
            1 * slf4jLoggingSystem.restore(slf4jSnapshot)
            1 * javaUtilLoggingSystem.restore(javaUtilSnapshot)
            1 * loggingRouter.restore(routerSnapshot)
            0 * loggingRouter._
            0 * slf4jLoggingSystem._
            0 * javaUtilLoggingSystem._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/builtin_test.go

    package typecheck
    
    import (
    	"bytes"
    	"internal/testenv"
    	"os"
    	"testing"
    )
    
    func TestBuiltin(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	old, err := os.ReadFile("builtin.go")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	new, err := testenv.Command(t, testenv.GoToolPath(t), "run", "mkbuiltin.go", "-stdout").Output()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 608 bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/config/LoggingSystemAdapterTest.groovy

            when:
            loggingSystem.restore(snapshot3)
    
            then:
            1 * loggingConfigurer.configure(LogLevel.DEBUG)
            0 * loggingConfigurer._
    
            when:
            loggingSystem.restore(snapshot1)
    
            then:
            1 * loggingConfigurer.configure(LogLevel.LIFECYCLE)
            0 * loggingConfigurer._
    
            when:
            loggingSystem.restore(snapshot2)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

    Sergey Opivalov <******@****.***> 1706211196 +0300
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 14:05:00 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top