- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 817 for parseAI (0.17 sec)
-
test/stress/parsego.go
return isGoFile(dir) && !strings.HasSuffix(dir.Name(), "_test.go") // ignore test files } func pkgName(filename string) string { file, err := parser.ParseFile(token.NewFileSet(), filename, nil, parser.PackageClauseOnly) if err != nil || file == nil { return "" } return file.Name.Name } func parseDir(dirpath string) map[string]*ast.Package {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 4.1K bytes - Viewed (0) -
tools/docker-builder/dockerfile/parse.go
Value []string // The contents of the command (ex: `ubuntu:xenial`) } // parseFile parses a Dockerfile from a filename. func parseFile(filename string) ([]Command, error) { file, err := os.Open(filename) if err != nil { return nil, err } defer file.Close() res, err := parser.Parse(file) if err != nil { return nil, err } var ret []Command
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/util/parsers/parsers.go
limitations under the License. */ package parsers import ( "fmt" // Import the crypto sha256 algorithm for the docker image parser to work _ "crypto/sha256" // Import the crypto/sha512 algorithm for the docker image parser to work with 384 and 512 sha hashes _ "crypto/sha512" dockerref "github.com/distribution/reference" ) // ParseImageName parses a docker image string into three parts: repo, tag and digest.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 01:53:40 UTC 2023 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.cc
DeviceNameUtils::ParsedName parsed0, parsed1; if (!DeviceNameUtils::ParseFullName(name0, &parsed0) || !DeviceNameUtils::ParseFullName(name1, &parsed1) || !DeviceNameUtils::AreCompatibleDevNames(parsed0, parsed1)) { return true; } if (DeviceNameUtils::IsSpecification(parsed0, parsed1)) { return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/signature-v4-parser.go
} // preSignValues data type represents structured form of AWS Signature V4 query string. type preSignValues struct { signValues Date time.Time Expires time.Duration } // Parses signature version '4' query string of the following form. // // querystring = X-Amz-Algorithm=algorithm // querystring += &X-Amz-Credential= urlencode(accessKey + '/' + credential_scope) // querystring += &X-Amz-Date=date
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/parse.go
// The resulting tag is canonicalized using the default canonicalization type. func Parse(s string) (t Tag, err error) { return Default.Parse(s) } // Parse parses the given BCP 47 string and returns a valid Tag. If parsing // failed it returns an error and any part of the tag that could be parsed. // If parsing succeeded but an unknown value was found, it returns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 7.5K bytes - Viewed (0) -
internal/amztime/parse.go
// Add new AMZ date formats here. } // ErrMalformedDate always returned for dates that cannot be parsed. var ErrMalformedDate = errors.New("malformed date") // Parse parses date string via supported amz date formats. func Parse(amzDateStr string) (time.Time, error) { for _, dateFormat := range amzDateFormats { amzDate, err := time.Parse(dateFormat, amzDateStr) if err == nil { return amzDate, nil } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.5K bytes - Viewed (0) -
hack/update-netparse-cve.sh
# See the License for the specific language governing permissions and # limitations under the License. # This script replace "net" stdlib IP and CIDR parsers # with the ones forked in k8s.io/utils/net to parse IP addresses # because of the compatibility break introduced in golang 1.17 # Reference: #100895 # Usage: `hack/update-netparse-cve.sh`. set -o errexit set -o nounset set -o pipefail
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java
/** * Service interface to parse {@link Version} and {@link VersionRange}. * * @since 4.0.0 */ @Experimental public interface VersionParser extends Service { /** * Parses the specified version string, for example "1.0". * * @param version the version string to parse, must not be {@code null} * @return the parsed version, never {@code null}
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 19 19:08:55 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyStringNotationConverterTest.groovy
!d.force d.artifacts.size() == 0 } def "parses short hand-notation #notation for strict dependencies"() { def parser = new DependencyStringNotationConverter(TestUtil.instantiatorFactory().decorateLenient(), DefaultClientModule, SimpleMapInterner.notThreadSafe()); when: def d = parse(parser, "org.foo:bar:$notation") then: d instanceof ExternalModuleDependency
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8K bytes - Viewed (0)