Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Hdrlen (0.3 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go

    		Count: make(map[string]uint64),
    	}
    	np := round(len(hdrPrefix), 4)
    	hdrLen := *(*uint32)(unsafe.Pointer(&data[np]))
    	if hdrLen > pageSize {
    		return corrupt()
    	}
    	meta := data[np+4 : hdrLen]
    	if i := bytes.IndexByte(meta, 0); i >= 0 {
    		meta = meta[:i]
    	}
    	m := &mappedFile{
    		meta:    string(meta),
    		hdrLen:  hdrLen,
    		mapping: &mmap.Data{Data: data},
    	}
    
    	lines := strings.Split(m.meta, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_test.c

        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/runtime/covermeta.go

    	"unsafe"
    )
    
    // The compiler emits calls to runtime.addCovMeta
    // but this code has moved to rtcov.AddMeta.
    func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran)
    	if id == 0 {
    		throw("runtime.addCovMeta: coverage package map collision")
    	}
    	return id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 603 bytes
    - Viewed (0)
  4. cmd/server-startup-msg.go

    	"github.com/minio/minio/internal/logger"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // generates format string depending on the string length and padding.
    func getFormatStr(strLen int, padding int) string {
    	formatStr := fmt.Sprintf("%ds", strLen+padding)
    	return "%" + formatStr
    }
    
    // Prints the formatted startup message.
    func printStartupMessage(apiEndpoints []string, err error) {
    	logger.Info(color.Bold(MinioBannerName))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/ops/variable_ops.cc

          shape.dims()));
      TF_RETURN_IF_ERROR(varhandle_op->SetAttrString("container", "", 0));
      TF_RETURN_IF_ERROR(
          varhandle_op->SetAttrString("shared_name", ResourceHandle::ANONYMOUS_NAME,
                                      strlen(ResourceHandle::ANONYMOUS_NAME)));
    
      AbstractTensorHandle* var_handle = nullptr;
      int num_retvals = 1;
      TF_RETURN_IF_ERROR(varhandle_op->Execute(
          absl::MakeSpan(&var_handle, num_retvals), &num_retvals));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 11:28:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/internal/coverage/rtcov/rtcov.go

    // the ID for the package for use by the package code itself,
    // or 0 for impossible errors.
    func AddMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	slot := len(Meta.List)
    	Meta.List = append(Meta.List, CovMetaBlob{
    		P:                  (*byte)(p),
    		Len:                dlen,
    		Hash:               hash,
    		PkgPath:            pkgpath,
    		PkgID:              pkgid,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

        case AttrValue::kPlaceholder:
          LOG(ERROR) << "Unexpected non-primitive attribute value.";
          return "/* ERROR */";
      }
    }
    
    string AttrView::VariableStrLen() const {
      return Call("strlen", {VariableName()});
    }
    
    string AttrView::VariableSpanData() const {
      return Call(VariableName(), "data", {}, ".");
    }
    
    string AttrView::VariableSpanLen() const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top