Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,753 for Parses (0.24 sec)

  1. src/cmd/vendor/golang.org/x/tools/cover/profile.go

    // ParseProfiles parses profile data in the specified file and returns a
    // Profile for each source file described therein.
    func ParseProfiles(fileName string) ([]*Profile, error) {
    	pf, err := os.Open(fileName)
    	if err != nil {
    		return nil, err
    	}
    	defer pf.Close()
    	return ParseProfilesFromReader(pf)
    }
    
    // ParseProfilesFromReader parses profile data from the Reader and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 17:02:03 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParser.java

    package org.gradle.api.internal.artifacts.dsl;
    
    import org.gradle.api.capabilities.Capability;
    import org.gradle.internal.typeconversion.NotationParser;
    
    /**
     * A concrete type for a generic {@link NotationParser} that parses {@link Capability}s.
     * <p>
     * This concrete type is necessary so that it can be injected into version catalog generated sources.
     */
    public interface CapabilityNotationParser extends NotationParser<Object, Capability> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/ProjectPropertiesCommandLineConverterTest.groovy

      def converter = new ProjectPropertiesCommandLineConverter();
    
      def convert(String... args) {
        converter.convert(Arrays.asList(args), new HashMap<String, String>()).sort()
      }
    
      def "parses project properties args"() {
        expect:
        convert("-Pa=b", "-Pc=d") == [a: "b", c: "d"]
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. internal/kms/secret-key.go

    	"golang.org/x/crypto/chacha20"
    	"golang.org/x/crypto/chacha20poly1305"
    
    	"github.com/minio/kms-go/kms"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // ParseSecretKey parses s as <key-id>:<base64> and returns a
    // KMS that uses s as builtin single key as KMS implementation.
    func ParseSecretKey(s string) (*KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top