search for: pseq

Displaying 7 results from an estimated 7 matches for "pseq".

Did you mean: pse
2006 Dec 02
0
fixup for debug package and R2.4.0
...nchar(nmi) > 0) nmi else as.integer(nrow) } } nvar <- length(clabs) if (nvar == 0) nvar <- max(sapply(allargs, length)) if (nvar == 0) return(structure(list(), class = "data.frame", row.names = integer())) pseq <- 1:nvar if (is.null(value)) { value <- list() value[pseq] <- list(logical(nrow)) } names(value) <- clabs for (j in 1:nvar) if (length(lij <- all.levs[[j]]) > 0) value[[j]] <- factor(as.vector(value[[j]]), lij, ordered = ordCol[j])...
2017 Dec 01
1
Bug is as.matrix.data.frame with nested data.frame
...= data.frame(letters)), class = "data.frame", row.names = .set_row_names(26)) as.matrix(x) #> Error in ncol(xj) : object 'xj' not found The offending code is here, in the definition of as.matrix.data.frame (source/base/all.R): for (j in pseq) { if (inherits(X[[j]], "data.frame") && ncol(xj) > 1L) X[[j]] <- as.matrix(X[[j]]) xj <- X[[j]] It should be ncol(X[[j]]), not ncol(xj). Also, the code would be more generic if it used is.data.frame here instead of inherits(, "data.f...
2007 Jan 12
0
Minor logical bug in rbind.data.frame ?
...nchar(nmi) > 0) nmi else as.integer(nrow) } } nvar <- length(clabs) if (nvar == 0) nvar <- max(sapply(allargs, length)) if (nvar == 0) return(structure(list(), class = "data.frame", row.names = integer())) pseq <- 1:nvar if (is.null(value)) { value <- list() value[pseq] <- list(logical(nrow)) } names(value) <- clabs for (j in 1:nvar) if (length(lij <- all.levs[[j]]) > 0) value[[j]] <- factor(as.vector(value[[j]]), lij, ordered = ordCol[j])...
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...;pmu_seq_tbl, 0, > + sizeof(pmu->pmu_seq_tbl)); > + > + for (i = 0; i < PMU_MAX_NUM_SEQUENCES; i++) > + pmu->seq[i].id = i; > +} > + > +static int pmu_seq_acquire(struct pmu_desc *pmu, > + struct pmu_sequence **pseq) > +{ > + struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *) > + impl_from_pmu(pmu)); > + struct pmu_sequence *seq; > + u32 index; > + > + mutex_lock(&pmu->pmu_seq_lock); > + index = find_first_zero_bit(pmu->pmu_seq_tbl, &...
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
...et(pmu->seq, 0, + sizeof(struct pmu_sequence) * PMU_MAX_NUM_SEQUENCES); + memset(pmu->pmu_seq_tbl, 0, + sizeof(pmu->pmu_seq_tbl)); + + for (i = 0; i < PMU_MAX_NUM_SEQUENCES; i++) + pmu->seq[i].id = i; +} + +static int pmu_seq_acquire(struct pmu_desc *pmu, + struct pmu_sequence **pseq) +{ + struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *) + impl_from_pmu(pmu)); + struct pmu_sequence *seq; + u32 index; + + mutex_lock(&pmu->pmu_seq_lock); + index = find_first_zero_bit(pmu->pmu_seq_tbl, + sizeof(pmu->pmu_seq_tbl)); + if (index >= sizeof(pmu->pmu_seq_tbl)) {...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...;pmu_seq_tbl, 0, > + sizeof(pmu->pmu_seq_tbl)); > + > + for (i = 0; i < PMU_MAX_NUM_SEQUENCES; i++) > + pmu->seq[i].id = i; > +} > + > +static int pmu_seq_acquire(struct pmu_desc *pmu, > + struct pmu_sequence **pseq) > +{ > + struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *) > + impl_from_pmu(pmu)); > + struct pmu_sequence *seq; > + u32 index; > + > + mutex_lock(&pmu->pmu_seq_lock); > + index = find_first_zero_bit(pmu->pmu_seq_tbl, &...
2016 Nov 21
33
[PATCH v4 0/33] Secure Boot refactoring / signed PMU firmware support for GM20B
This revision includes initial signed PMU firmware support for GM20B (Tegra X1). This PMU code will also be used as a basis for dGPU signed PMU firmware support. With the PMU code, the refactoring of secure boot should also make more sense. ACR (secure boot) support is now separated by the driver version it originates from. This separation allows to run any version of the ACR on any chip,