Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for getaddr (0.12 sec)

  1. src/net/lookup_windows.go

    	var family int32 = syscall.AF_UNSPEC
    	switch ipVersion(network) {
    	case '4':
    		family = syscall.AF_INET
    	case '6':
    		family = syscall.AF_INET6
    	}
    
    	getaddr := func() ([]IPAddr, error) {
    		if err := acquireThread(ctx); err != nil {
    			return nil, &DNSError{
    				Name:      name,
    				Err:       mapErr(err).Error(),
    				IsTimeout: ctx.Err() == context.DeadlineExceeded,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	}
    
    	// anonymizedAddr - Updated the addr of the node info with anonymized one
    	anonymizeAddr := func(info madmin.NodeInfo) {
    		info.SetAddr(anonAddr(info.GetAddr()))
    	}
    
    	partialWrite := func(oinfo madmin.HealthInfo) {
    		select {
    		case healthInfoCh <- oinfo:
    		case <-healthCtx.Done():
    		}
    	}
    
    	getAndWritePlatformInfo := func() {
    		if IsKubernetes() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

        return failure();
      }
    
      // Replace the last 2 dimensions of LHS and RHS if necessary.
      // The actual transpose is done by MatMulOp.
      if (op.getAdjX()) {
        std::swap(lhs_shape[lhs_dims - 1], lhs_shape[lhs_dims - 2]);
      }
      if (op.getAdjY()) {
        std::swap(rhs_shape[rhs_dims - 1], rhs_shape[rhs_dims - 2]);
      }
    
      const int64_t rows = lhs_shape[lhs_dims - 2];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc

            }
    
            const int x_row =
                matmul_op.getAdjX() ? shape_x.back() : *(shape_x.rbegin() + 1);
            const int x_col =
                !matmul_op.getAdjX() ? shape_x.back() : *(shape_x.rbegin() + 1);
    
            const int y_row =
                matmul_op.getAdjY() ? shape_y.back() : *(shape_y.rbegin() + 1);
            const int y_col =
                !matmul_op.getAdjY() ? shape_y.back() : *(shape_y.rbegin() + 1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/batchmatmul_to_einsum.cc

        if (dims_a < 2 || dims_b < 2) {
          return failure();
        }
    
        // einsum equation for batchmatmul
        std::string equation("...mk,...kn->...mn");
        if (op.getAdjX()) std::swap(equation[3], equation[4]);
        if (op.getAdjY()) std::swap(equation[6 + 3], equation[6 + 4]);
    
        rewriter.replaceOpWithNewOp<TF::EinsumOp>(
            op, op.getType(),
            /*inputs=*/ValueRange({input_lhs, input_rhs}),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

        Value input_rhs = bmm_op.getY();
    
        Value output_lhs =
            bmm_op.getAdjX() ? create_z_x_transpose_op(input_lhs) : input_lhs;
    
        // The rhs need to be transposed if adj_y == false AND this matmul will be
        // legalized to tfl.fully_connected
        Value output_rhs =
            !bmm_op.getAdjY() ? create_z_x_transpose_op(input_rhs) : input_rhs;
    
        Type output_type = bmm_op.getResult().getType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/net/netip/slow_test.go

    		if zone == "" {
    			return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): no zone after zone specifier", s)
    		}
    	default:
    		return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): too many zone specifiers", s) // TODO: less specific?
    	}
    
    	// IPv4 by itself is easy to do in a helper.
    	if strings.Count(s, ":") == 0 {
    		if zone != "" {
    			return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): IPv4 addresses cannot have a zone", s)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/net/sock_posix.go

    	// 3) the one passed to us as the raddr parameter.
    	lsa, _ = syscall.Getsockname(fd.pfd.Sysfd)
    	if crsa != nil {
    		fd.setAddr(fd.addrFunc()(lsa), fd.addrFunc()(crsa))
    	} else if rsa, _ = syscall.Getpeername(fd.pfd.Sysfd); rsa != nil {
    		fd.setAddr(fd.addrFunc()(lsa), fd.addrFunc()(rsa))
    	} else {
    		fd.setAddr(fd.addrFunc()(lsa), raddr)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. pilot/test/xdstest/endpoints.go

    )
    
    type LbEpInfo struct {
    	Address string
    	// nolint: structcheck
    	Weight uint32
    }
    
    type LocLbEpInfo struct {
    	LbEps  []LbEpInfo
    	Weight uint32
    }
    
    func (i LocLbEpInfo) GetAddrs() []string {
    	addrs := make([]string, 0)
    	for _, ep := range i.LbEps {
    		addrs = append(addrs, ep.Address)
    	}
    	return addrs
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

        float max_percentile;
        OP_REQUIRES_OK(context, context->GetAttr("calibration_method",
                                                 &calibration_method_value));
        OP_REQUIRES_OK(context, context->GetAttr("num_bins", &num_bins));
        OP_REQUIRES_OK(context,
                       context->GetAttr("min_percentile", &min_percentile));
        OP_REQUIRES_OK(context,
                       context->GetAttr("max_percentile", &max_percentile));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top