Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 269 for opcodes (0.15 sec)

  1. tensorflow/compiler/mlir/lite/schema/schema_utils.cc

    BuiltinOperator GetBuiltinCode(const OperatorCode* op_code) {
      // Caller should guarantee that the given argument value is not a nullptr.
      TFLITE_DCHECK(op_code != nullptr);
    
      return std::max(
          op_code->builtin_code(),
          static_cast<BuiltinOperator>(op_code->deprecated_builtin_code()));
    }
    
    BuiltinOperator GetBuiltinCode(const OperatorCodeT* op_code) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Base64.java

    /* Encodes and decodes to and from Base64 notation.
     * Copyright (C) 2003 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/expiration.go

    	if err != nil {
    		return err
    	}
    	if numDays <= 0 {
    		return errLifecycleInvalidDays
    	}
    	*eDays = ExpirationDays(numDays)
    	return nil
    }
    
    // MarshalXML encodes number of days to expire if it is non-zero and
    // encodes empty string otherwise
    func (eDays ExpirationDays) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if eDays == 0 {
    		return nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/syscall/sockcmsg_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Socket control messages
    
    package syscall
    
    import "unsafe"
    
    // UnixCredentials encodes credentials into a socket control message
    // for sending to another process. This can be used for
    // authentication.
    func UnixCredentials(ucred *Ucred) []byte {
    	b := make([]byte, CmsgSpace(SizeofUcred))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 17 18:42:47 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  5. cmd/erasure-coding.go

    	if err != nil {
    		return nil, err
    	}
    	if err = e.encoder().Encode(encoded); err != nil {
    		return nil, err
    	}
    	return encoded, nil
    }
    
    // DecodeDataBlocks decodes the given erasure-coded data.
    // It only decodes the data blocks but does not verify them.
    // It returns an error if the decoding failed.
    func (e *Erasure) DecodeDataBlocks(data [][]byte) error {
    	isZero := 0
    	for _, b := range data {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/noder/codes.go

    David Chase <******@****.***> 1699395635 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 20:07:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. src/compress/lzw/reader_test.go

    		{9, 512 - 257},
    		{10, 1024 - 512},
    		{11, 2048 - 1024},
    		{12, 4096 - 2048},
    	}
    	nCodes, nBits := 0, 0
    	for _, e := range iterations {
    		nCodes += e.n
    		nBits += e.n * e.width
    	}
    	if nCodes != 3839 {
    		t.Fatalf("nCodes: got %v, want %v", nCodes, 3839)
    	}
    	if nBits != 43255 {
    		t.Fatalf("nBits: got %v, want %v", nBits, 43255)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:58 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/healthcheck.go

    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"encoding/json"
    	"fmt"
    )
    
    // etcdHealth encodes data returned from etcd /healthz handler.
    type etcdHealth struct {
    	// Note this has to be public so the json library can modify it.
    	Health string `json:"health"`
    }
    
    // EtcdHealthCheck decodes data returned from etcd /healthz handler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. internal/config/lambda/event/targetid.go

    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    }
    
    // MarshalJSON - encodes to JSON data.
    func (tid TargetID) MarshalJSON() ([]byte, error) {
    	return json.Marshal(tid.String())
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (tid *TargetID) UnmarshalJSON(data []byte) error {
    	var s string
    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/transition.go

    		return errTransitionDateNotMidnight
    	}
    
    	*tDate = TransitionDate{trnDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (tDate TransitionDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if tDate.Time.IsZero() {
    		return nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top