- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 93 for perblock (0.19 sec)
-
cmd/kubeadm/app/util/pkiutil/pki_helpers.go
func CertificateRequestFromFile(file string) (*x509.CertificateRequest, error) { pemBlock, err := os.ReadFile(file) if err != nil { return nil, errors.Wrap(err, "failed to read file") } csr, err := parseCSRPEM(pemBlock) if err != nil { return nil, errors.Wrapf(err, "error reading certificate request file %s", file) } return csr, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 25.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
// an error will be returned. LogicalResult GetControlFlowAncestors( Operation* op, llvm::SmallPtrSetImpl<Operation*>& control_flow_ops, llvm::SmallPtrSetImpl<Block*>& control_flow_blocks) { Block* block = op->getBlock(); Operation* parent = block->getParentOp(); while (block && parent && !isa<func::FuncOp>(parent)) { if (!IsControlFlowOp(parent)) return op->emitOpError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc
return false; } return parsed_device.has_type && parsed_device.type == kDeviceCPU; }); } OpBuilder CreateBuilderAfterOp(Operation* op) { return OpBuilder(op->getBlock(), ++Block::iterator(op)); } // Builds a TPUGetLayoutOp with the given compile op and input index. TF::TPUGetLayoutOp BuildGetLayout(const int64_t execute_arg_index,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
src/archive/tar/format.go
// blockPadding computes the number of bytes needed to pad offset up to the // nearest block edge where 0 <= n < blockSize. func blockPadding(offset int64) (n int64) { return -offset & (blockSize - 1) } var zeroBlock block type block [blockSize]byte // Convert block to any number of formats. func (b *block) toV7() *headerV7 { return (*headerV7)(b) } func (b *block) toGNU() *headerGNU { return (*headerGNU)(b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go
} certs = append(certs, getCert(t, string(data))) } return certs } func getCert(t *testing.T, pemData string) *x509.Certificate { t.Helper() pemBlock, _ := pem.Decode([]byte(pemData)) cert, err := x509.ParseCertificate(pemBlock.Bytes) if err != nil { t.Fatalf("Error parsing cert: %v", err) return nil } return cert }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 23:23:03 UTC 2024 - 36.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
mem.Aux = t volatiles = append(volatiles, volatileCopy{val, tmpaddr}) } } } } // Build branch point. bThen := f.NewBlock(BlockPlain) bEnd := f.NewBlock(b.Kind) bThen.Pos = pos bEnd.Pos = b.Pos b.Pos = pos // Set up control flow for end block. bEnd.CopyControls(b) bEnd.Likely = b.Likely for _, e := range b.Succs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
pkg/volume/csi/fake/fake_client.go
return nil, timeoutErr } // "Creation of target_path is the responsibility of the SP." // Our plugin depends on it. if req.VolumeCapability.GetBlock() != nil { if err := os.WriteFile(req.TargetPath, []byte{}, 0644); err != nil { return nil, fmt.Errorf("cannot create target path %s for block file: %s", req.TargetPath, err) } } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 16K bytes - Viewed (0) -
src/archive/tar/reader.go
return nil, nil, err // EOF is okay here; exactly 0 bytes read } if bytes.Equal(tr.blk[:], zeroBlock[:]) { if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil { return nil, nil, err // EOF is okay here; exactly 1 block of zeros read } if bytes.Equal(tr.blk[:], zeroBlock[:]) { return nil, nil, io.EOF // normal EOF; exactly 2 block of zeros read }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/link/internal/x86/asm.go
} else { return false } } return true } func machoreloc1(*sys.Arch, *ld.OutBuf, *loader.Loader, loader.Sym, loader.ExtReloc, int64) bool { return false } func pereloc1(arch *sys.Arch, out *ld.OutBuf, ldr *loader.Loader, s loader.Sym, r loader.ExtReloc, sectoff int64) bool { var v uint32 rs := r.Xsym rt := r.Type if ldr.SymDynid(rs) < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.6K bytes - Viewed (0) -
cmd/admin-handlers.go
} for _, peerLock := range peerLocks { if peerLock == nil { continue } for k, v := range peerLock.Locks { for _, lockReqInfo := range v { if val, ok := entryMap[toEntry(lockReqInfo)]; ok { val.ServerList = append(val.ServerList, peerLock.Addr) } else { entryMap[toEntry(lockReqInfo)] = lriToLockEntry(lockReqInfo, now, k, peerLock.Addr) } } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0)