Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/TryTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal
    
    import spock.lang.Specification
    
    class TryTest extends Specification {
    
        def "successful is successful"() {
            expect:
            Try.successful(10).successful
        }
    
        def "failure is mot successful"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top