- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,885 for Parses (0.14 sec)
-
platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/ProjectPropertiesCommandLineConverterTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:00:57 UTC 2023 - 1K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/CGroupMemoryInfoTest.groovy
package org.gradle.process.internal.health.memory import spock.lang.Specification class CGroupMemoryInfoTest extends Specification { private static final long MB_IN_BYTES = 1024 * 1024 * 1024 def "parses memory from cgroup values"() { def snapshot = new CGroupMemoryInfo().getOsSnapshotFromCgroup(mbsToBytesAsString(800), mbsToBytesAsString(1024)) expect: snapshot.physicalMemory.total == mbsToBytes(1024)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 1.8K bytes - Viewed (0) -
src/net/port.go
package net // parsePort parses service as a decimal integer and returns the // corresponding value as port. It is the caller's responsibility to // parse service as a non-decimal integer when needsLookup is true. // // Some system resolvers will return a valid port number when given a number // over 65536 (see https://golang.org/issues/11715). Alas, the parser
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:31:56 UTC 2017 - 1.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/TypedNotationConverterTest.groovy
public class TypedNotationConverterTest extends Specification { def parser = NotationParserBuilder.toType(Integer).converter(new DummyConverter()).toComposite() def "parses object of source type"(){ expect: parser.parseNotation("100") == 100 } def "throws meaningful exception on parse attempt"(){ when: parser.parseNotation(new Object()) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 16 07:34:13 UTC 2021 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go
} { if demangled, err := demangle.ToString(name, o...); err == nil && r.MatchString(demangled) { return []string{demangled} } } } return nil } // disassemble parses the output of the objdump command and returns // the assembly instructions in a slice. func disassemble(asm []byte) ([]plugin.Inst, error) { buf := bytes.NewBuffer(asm) function, file, line := "", "", 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 5.2K bytes - Viewed (0) -
pkg/util/iptables/save_restore.go
) // MakeChainLine return an iptables-save/restore formatted chain line given a Chain func MakeChainLine(chain Chain) string { return fmt.Sprintf(":%s - [0:0]", chain) } // GetChainsFromTable parses iptables-save data to find the chains that are defined. It // assumes that save contains a single table's data, and returns a set with keys for every // chain defined in that table.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/template.go
*/ package util import ( "bytes" "text/template" "github.com/pkg/errors" ) // ParseTemplate validates and parses passed as argument template func ParseTemplate(strtmpl string, obj interface{}) ([]byte, error) { var buf bytes.Buffer tmpl, err := template.New("template").Parse(strtmpl) if err != nil { return nil, errors.Wrap(err, "error when parsing template") } err = tmpl.Execute(&buf, obj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 26 07:17:21 UTC 2018 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/serialize_mlir_module_utils.h
#include "tensorflow/core/platform/status.h" namespace tensorflow { // Prints a MLIR module `module_op` and returns it as a string. std::string SerializeMlirModule(mlir::ModuleOp module_op); // Parses a MLIR module from `mlir_module_string` into `mlir_module` with // context `mlir_context`. Status DeserializeMlirModule(llvm::StringRef serialized_mlir_module, mlir::MLIRContext* mlir_context,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 22 14:25:57 UTC 2022 - 1.6K bytes - Viewed (0) -
src/html/template/template.go
// such as // // var t = template.Must(template.New("name").Parse("html")) func Must(t *Template, err error) *Template { if err != nil { panic(err) } return t } // ParseFiles creates a new [Template] and parses the template definitions from // the named files. The returned template's name will have the (base) name and // (parsed) contents of the first file. There must be at least one file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:00:46 UTC 2024 - 17K bytes - Viewed (0) -
src/crypto/x509/sec1.go
return nil, errors.New("x509: failed to parse private key (use ParsePKCS8PrivateKey instead for this key format)") } if _, err := asn1.Unmarshal(der, &pkcs1PrivateKey{}); err == nil { return nil, errors.New("x509: failed to parse private key (use ParsePKCS1PrivateKey instead for this key format)") } return nil, errors.New("x509: failed to parse EC private key: " + err.Error()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.6K bytes - Viewed (0)