Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for ptrtest (0.11 sec)

  1. src/cmd/cgo/internal/testerrors/ptr_test.go

    	"os"
    	"os/exec"
    	"path/filepath"
    	"slices"
    	"strings"
    	"sync/atomic"
    	"testing"
    )
    
    var tmp = flag.String("tmp", "", "use `dir` for temporary files and do not clean up")
    
    // ptrTest is the tests without the boilerplate.
    type ptrTest struct {
    	name      string   // for reporting
    	c         string   // the cgo comment
    	c1        string   // cgo comment forced into non-export cgo file
    	imports   []string // a list of imports
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/asm_zos_s390x.s

    done:
    	MOVD R4, 0(R9)            // Save stack pointer.
    	RET
    
    //
    // function to test if a pointer can be safely dereferenced (content read)
    // return 0 for succces
    //
    TEXT ยทptrtest(SB), NOSPLIT, $0-16
    	MOVD arg+0(FP), R10 // test pointer in R10
    
    	// set up R2 to point to CEECAADMC
    	BYTE $0xE3; BYTE $0x20; BYTE $0x04; BYTE $0xB8; BYTE $0x00; BYTE $0x17 // llgt  2,1208
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/PACTest.java

    import jcifs.pac.PACDecodingException;
    import jcifs.pac.PacMac;
    import jcifs.util.Hexdump;
    
    
    /**
     * @author mbechler
     *
     */
    @SuppressWarnings ( {
        "nls", "javadoc", "restriction"
    } )
    public class PACTest {
    
        @Test
        public void testNFold () {
            // rfc3961 test vectors
            verifyNfold(64, "012345", "be072631276b1955");
            verifyNfold(56, "password", "78a07b6caf85fa");
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    internal class DerTest {
      @Test fun `decode tag and length`() {
        val buffer =
          Buffer()
            .writeByte(0b00011110)
            .writeByte(0b10000001)
            .writeByte(0b11001001)
    
        val derReader = DerReader(buffer)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcherTest.groovy

            ["FooTest", "*BarTest"]             | "FooTest"                 | "test"                | true
            ["FooTest", "*BarTest"]             | "FooTest"                 | "xxxx"                | true
            ["FooTest", "*BarTest"]             | "BarTest"                 | "xxxx"                | true
            ["FooTest", "*BarTest"]             | "com.foo.BarTest"         | "xxxx"                | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			mock := krttest.NewMock(t, tt.inputs)
    			a := newAmbientUnitTest()
    			builder := a.serviceEntryWorkloadBuilder(
    				GetMeshConfig(mock),
    				krttest.GetMockCollection[model.WorkloadAuthorization](mock),
    				krttest.GetMockCollection[*securityclient.PeerAuthentication](mock),
    				krttest.GetMockCollection[Waypoint](mock),
    				krttest.GetMockCollection[*v1.Namespace](mock),
    			)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/runtime/runtime_test.go

    		{
    			name: "invalid: new runtime service fails",
    			prepare: func(mock *fakeImpl) {
    				mock.NewRemoteRuntimeServiceReturns(nil, errTest)
    			},
    			shouldError: true,
    		},
    		{
    			name: "invalid: new image service fails",
    			prepare: func(mock *fakeImpl) {
    				mock.NewRemoteImageServiceReturns(nil, errTest)
    			},
    			shouldError: true,
    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            file("build/reports/pmd/test.xml").exists()
        }
    
        def "analyze bad code"() {
            badCode()
    
            expect:
            fails("check")
            failure.assertHasDescription("Execution failed for task ':pmdTest'.")
            failure.assertThatCause(containsString("2 PMD rule violations were found. See the report at:"))
            failure.assertHasResolutions(SCAN)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

                    @Test public void pass2() {}
                    @Test public void bar() {}
                }
            """
            file("src/test/java/BarTest.java") << """
                ${testFrameworkImports}
                public class BarTest {
                    @Test public void bar() {}
                }
            """
            file("src/test/java/OtherTest.java") << """
                ${testFrameworkImports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  10. src/net/http/cookiejar/jar_test.go

    type query struct {
    	toURL string // the URL in the Cookies call
    	want  string // the expected list of cookies (order matters)
    }
    
    // run runs the jarTest.
    func (test jarTest) run(t *testing.T, jar *Jar) {
    	now := tNow
    
    	// Populate jar with cookies.
    	setCookies := make([]*http.Cookie, len(test.setCookies))
    	for i, cs := range test.setCookies {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top