Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,687 for Turing (0.1 sec)

  1. test/turing.go

    // run
    
    // Copyright 2009 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.
    
    // Test simulating a Turing machine, sort of.
    
    package main
    
    // brainfuck
    
    var p, pc int
    var a [30000]byte
    
    const prog = "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.!"
    
    func scan(dir int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 893 bytes
    - Viewed (0)
  2. src/regexp/example_test.go

    	fmt.Println(re.MatchString("Alan Turing"))
    	fmt.Printf("%q\n", re.SubexpNames())
    	reversed := fmt.Sprintf("${%s} ${%s}", re.SubexpNames()[2], re.SubexpNames()[1])
    	fmt.Println(reversed)
    	fmt.Println(re.ReplaceAllString("Alan Turing", reversed))
    	// Output:
    	// true
    	// ["" "first" "last"]
    	// ${last} ${first}
    	// Turing Alan
    }
    
    func ExampleRegexp_SubexpIndex() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:22:53 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy

            buildScript '''
                @Managed
                abstract class Person {
                    abstract String getFirstName()
                    abstract void setFirstName(String firstName)
                    abstract String getLastName()
                    abstract void setLastName(String lastName)
    
                    String getName() {
                        "$firstName $lastName"
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InterfaceBackedManagedTypeIntegrationTest.groovy

                import org.gradle.model.*;
    
                @Managed
                interface Person {
                    String getFirstName();
                    void setFirstName(String firstName);
                    String getLastName();
                    void setLastName(String lastName);
    
                    default String getName() {
                        return getFirstName() + " " + getLastName();
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

            then:
            skipped ':test'
    
            where:
            property                 | modification
            'suiteName'              | '= "Honeymoon Suite"'
            'testName'               | '= "Turing completeness"'
            'parallel'               | '= "methods"'
            'threadCount'            | '= 2'
            'suiteThreadPoolSize'    | '= 2'
            'listeners'              | '= ["org.testng.reporters.FailedReporter"]'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/crypto/boring/boring.go

    // is satisfied, so that applications can tag files that use this package.
    package boring
    
    import "crypto/internal/boring"
    
    // Enabled reports whether BoringCrypto handles supported crypto operations.
    func Enabled() bool {
    	return boring.Enabled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:22 UTC 2022
    - 800 bytes
    - Viewed (0)
  7. src/crypto/ecdsa/boring.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package ecdsa
    
    import (
    	"crypto/internal/boring"
    	"crypto/internal/boring/bbig"
    	"crypto/internal/boring/bcache"
    	"math/big"
    )
    
    // Cached conversions from Go PublicKey/PrivateKey to BoringCrypto.
    //
    // The first operation on a PublicKey or PrivateKey makes a parallel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. src/crypto/rsa/boring.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package rsa
    
    import (
    	"crypto/internal/boring"
    	"crypto/internal/boring/bbig"
    	"crypto/internal/boring/bcache"
    	"math/big"
    )
    
    // Cached conversions from Go PublicKey/PrivateKey to BoringCrypto.
    //
    // The first operation on a PublicKey or PrivateKey makes a parallel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. src/crypto/tls/boring.go

    // Copyright 2017 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 boringcrypto
    
    package tls
    
    import "crypto/internal/boring/fipstls"
    
    // needFIPS returns fipstls.Required(), which is not available without the
    // boringcrypto build tag.
    func needFIPS() bool {
    	return fipstls.Required()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 393 bytes
    - Viewed (0)
  10. src/crypto/internal/boring/boring.go

    //go:build boringcrypto && linux && (amd64 || arm64) && !android && !msan
    
    package boring
    
    /*
    // goboringcrypto_linux_amd64.syso references pthread functions.
    #cgo LDFLAGS: "-pthread"
    
    #include "goboringcrypto.h"
    */
    import "C"
    import (
    	"crypto/internal/boring/sig"
    	_ "crypto/internal/boring/syso"
    	"internal/stringslite"
    	"math/bits"
    	"unsafe"
    )
    
    const available = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top