Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for perblock (0.2 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    				s.Fatalf("atomic load not available")
    			}
    			merge = s.f.NewBlock(ssa.BlockPlain)
    			cacheHit := s.f.NewBlock(ssa.BlockPlain)
    			cacheMiss := s.f.NewBlock(ssa.BlockPlain)
    			loopHead := s.f.NewBlock(ssa.BlockPlain)
    			loopBody := s.f.NewBlock(ssa.BlockPlain)
    
    			// Pick right size ops.
    			var mul, and, add, zext ssa.Op
    			if s.config.PtrSize == 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. security/pkg/pki/util/crypto.go

    	certs := []string{}
    	var cert string
    	pemBlock := caCerts
    	for block, rest := pem.Decode(pemBlock); block != nil && len(block.Bytes) != 0; block, rest = pem.Decode(pemBlock) {
    		if len(rest) == 0 {
    			cert = strings.TrimPrefix(strings.TrimSuffix(string(pemBlock), "\n"), "\n")
    			certs = append(certs, cert)
    			break
    		}
    		cert = string(pemBlock[0 : len(pemBlock)-len(rest)])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. security/pkg/pki/util/generate_csr_test.go

    				t.Fatalf("%s: expected error to match expected error: %v", id, err)
    			} else {
    				t.Errorf("%s: failed to gen CSR", id)
    			}
    		}
    
    		pemBlock, _ := pem.Decode(csrPem)
    		if pemBlock == nil {
    			t.Fatalf("%s: failed to decode csr", id)
    		}
    		csr, err := x509.ParseCertificateRequest(pemBlock.Bytes)
    		if err != nil {
    			t.Fatalf("%s: failed to parse csr", id)
    		}
    		if err = csr.CheckSignature(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 09:40:13 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    	case *ast.ReturnStmt:
    		b.add(s)
    		b.current = b.newBlock(KindUnreachable, s)
    
    	case *ast.BranchStmt:
    		b.branchStmt(s)
    
    	case *ast.BlockStmt:
    		b.stmtList(s.List)
    
    	case *ast.IfStmt:
    		if s.Init != nil {
    			b.stmt(s.Init)
    		}
    		then := b.newBlock(KindIfThen, s)
    		done := b.newBlock(KindIfDone, s)
    		_else := done
    		if s.Else != nil {
    			_else = b.newBlock(KindIfElse, s)
    		}
    		b.add(s.Cond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. internal/config/certs.go

    	// Parse all certs in the chain.
    	current := data
    	for len(current) > 0 {
    		var pemBlock *pem.Block
    		if pemBlock, current = pem.Decode(current); pemBlock == nil {
    			return nil, ErrTLSUnexpectedData(nil).Msg("Could not read PEM block from file %s", certFile)
    		}
    
    		var x509Cert *x509.Certificate
    		if x509Cert, err = x509.ParseCertificate(pemBlock.Bytes); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/pubkeypin/pubkeypin_test.go

    	// Decode the example certificate from a PEM file into a PEM block
    	pemBlock, _ := pem.Decode([]byte(pemString))
    	if pemBlock == nil {
    		t.Fatal("failed to parse test certificate PEM")
    		return nil
    	}
    
    	// Parse the PEM block into an x509.Certificate
    	result, err := x509.ParseCertificate(pemBlock.Bytes)
    	if err != nil {
    		t.Fatalf("failed to parse test certificate: %v", err)
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 13 11:38:39 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  7. pkg/test/echo/server/forwarder/tls.go

    	echo.AlpnField.WriteForRequest(&msgBuilder, requestID, cs.NegotiatedProtocol)
    	for n, i := range cs.PeerCertificates {
    		pemBlock := pem.Block{
    			Type:  "CERTIFICATE",
    			Bytes: i.Raw,
    		}
    		echo.WriteBodyLine(&msgBuilder, requestID, fmt.Sprintf("Response%d=%q", n, string(pem.EncodeToMemory(&pemBlock))))
    	}
    
    	msg := msgBuilder.String()
    	return msg, nil
    }
    
    func versionName(v uint16) string {
    	switch v {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 11 16:27:16 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc

    };
    
    // Checks if `op` is nested in `block`.
    bool OpInBlock(Operation* op, Block* block) {
      Block* op_block = op->getBlock();
      while (op_block) {
        if (op_block == block) return true;
        if (auto* parent_op = op_block->getParentOp()) {
          op_block = parent_op->getBlock();
        } else {
          break;
        }
      }
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/utils/utils.cc

                       const NamedAttrList& attrs) {
      if (begin->getBlock() == end->getBlock()) {
        AddAttributesInSameBlock(begin, end, attrs);
      } else {
        Region::iterator begin_block = Region::iterator(begin->getBlock());
        Region::iterator end_block = Region::iterator(end->getBlock());
        AddAttributesInSameBlock(begin, begin_block->end(), attrs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/python/mlir_wrapper/builders.cc

          .def("getContext", &mlir::OpBuilder::getContext,
               py::return_value_policy::reference);
    
      py::class_<mlir::OpBuilder::InsertPoint>(m, "OpBuilder_InsertionPoint")
          .def("getBlock", &mlir::OpBuilder::InsertPoint::getBlock);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 08:44:55 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top