Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 933 for Parses (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/syscall/netlink_linux.go

    			}
    		}
    	}
    	return tab, nil
    }
    
    // NetlinkMessage represents a netlink message.
    type NetlinkMessage struct {
    	Header NlMsghdr
    	Data   []byte
    }
    
    // ParseNetlinkMessage parses b as an array of netlink messages and
    // returns the slice containing the NetlinkMessage structures.
    func ParseNetlinkMessage(b []byte) ([]NetlinkMessage, error) {
    	var msgs []NetlinkMessage
    	for len(b) >= NLMSG_HDRLEN {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/parse_text_proto.h

    // the prefix doesn't exist.
    Status ConsumePrefix(absl::string_view str, absl::string_view prefix,
                         absl::string_view* output);
    
    // Strips `prefix_to_strip` from `text_proto`, parses, and returns the parsed
    // proto.
    Status ParseTextProto(absl::string_view text_proto,
                          absl::string_view prefix_to_strip,
                          protobuf::Message* parsed_proto);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 06 09:43:41 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    func sentinel() uint64 {
    	return uint64(reflect.ValueOf(sentinel).Pointer())
    }
    
    func writeSentinel(out io.Writer) {
    	fmt.Fprintf(out, "sentinel %x\n", sentinel())
    }
    
    // telemetryCounterName parses a crash report produced by the Go
    // runtime, extracts the stack of the first runnable goroutine,
    // converts each line into telemetry form ("symbol:relative-line"),
    // and returns this as the name of a counter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpResourceListerTest.groovy

    class HttpResourceListerTest extends Specification {
        HttpResourceAccessor accessorMock = Mock()
        ExternalResourceMetaData metaData = Mock()
        HttpResourceLister lister = new HttpResourceLister(accessorMock)
    
        def "parses resource content"() {
            setup:
            def inputStream = new ByteArrayInputStream("<a href='child'/>".bytes)
            def name = new ExternalResourceName("http://testrepo/")
    
            when:
            lister.list(name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultJavaCompileSpecTest.groovy

    
    import org.gradle.api.tasks.compile.CompileOptions
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class DefaultJavaCompileSpecTest extends Specification {
    
        def "parses module-path from compileArgs with #description"() {
            given:
            CompileOptions options = TestUtil.newInstance(CompileOptions, TestUtil.objectFactory())
            options.compilerArgs.addAll(modulePathParameters)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/internal/txtar/archive.go

    	}
    	return buf.Bytes()
    }
    
    // ParseFile parses the named file as an archive.
    func ParseFile(file string) (*Archive, error) {
    	data, err := os.ReadFile(file)
    	if err != nil {
    		return nil, err
    	}
    	return Parse(data), nil
    }
    
    // Parse parses the serialized form of an Archive.
    // The returned Archive holds slices of data.
    func Parse(data []byte) *Archive {
    	a := new(Archive)
    	var name string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top