Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for ptrtest (0.26 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/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    // -------------------------------
    // pointer validity test
    // good pointer returns 0
    // bad pointer returns 1
    //
    //go:nosplit
    func ptrtest(uintptr) uint64
    
    // Load memory at ptr location with error handling if the location is invalid
    //
    //go:noescape
    func safeload(ptr uintptr) (value uintptr, error uintptr)
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathTest.groovy

     * limitations under the License.
     */
    package org.gradle.plugins.ide.idea.model
    
    import org.gradle.util.Matchers
    import spock.lang.Specification
    
    class PathTest extends Specification {
        def "paths are equal when they have the same canonical url"() {
            expect:
            Matchers.strictlyEquals(new Path('file://$ROOT_DIR$/file'), new Path('file://$ROOT_DIR$/file'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForTestNgTests/src/test/java/org/gradle/BarTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle;
    
    public class BarTest {
        @org.testng.annotations.Test public void anotherOk() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 723 bytes
    - Viewed (0)
  6. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/jvm/tasks/JarTest.groovy

    import org.gradle.api.tasks.bundling.AbstractArchiveTask
    import org.gradle.api.tasks.bundling.AbstractArchiveTaskTest
    import org.gradle.test.fixtures.archive.JarTestFixture
    
    class JarTest extends AbstractArchiveTaskTest {
        Jar jar
    
        def setup() {
            jar = createTask(Jar)
            configure(jar)
        }
    
        @Override
        AbstractArchiveTask getArchiveTask() {
            jar
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/PairTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal
    
    import spock.lang.Specification
    
    import static Pair.unpackLeft
    import static Pair.unpackRight
    
    class PairTest extends Specification {
    
      def "can create and transform pair"() {
        given:
        def t = Pair.of(1, "a")
    
        expect:
        t.nestLeft(2).left == Pair.of(2, 1)
        t.nestLeft(2).right == "a"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarTest.groovy

    import org.gradle.plugins.ear.descriptor.EarSecurityRole
    import org.gradle.plugins.ear.descriptor.internal.DefaultDeploymentDescriptor
    import org.gradle.test.fixtures.archive.JarTestFixture
    
    class EarTest extends AbstractArchiveTaskTest {
        Ear ear
    
        def setup() {
            ear = createTask(Ear)
            configure(ear)
            // This would normally be set by the EarPlugin
            ear.libDirName = "lib"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 19:58:25 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

    import org.gradle.api.InvalidUserDataException
    import spock.lang.Specification
    
    import static org.gradle.util.Matchers.strictlyEquals
    import static org.gradle.util.Path.ROOT
    import static org.gradle.util.Path.path
    
    class PathTest extends Specification {
        def "construction from string"() {
            expect:
            path(':').getPath() == ':'
            path(':').is(Path.ROOT)
            Path.ROOT.getPath() == ':'
            path('a').getPath() == 'a'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. 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)
Back to top