Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for splitData (0.12 sec)

  1. docs/debugging/xl-meta/main.go

    										}
    									}
    									reconstructAbleConfig = valid >= m.data-hasParity && valid < m.data
    									startOffset = offset
    									offset++
    									continue
    								}
    								for shardIdx, ok := range shardConfig {
    									if ok != 0 {
    										shards[shardIdx] = append(shards[shardIdx], splitData[shardIdx][offset])
    									}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. src/os/path_unix.go

    )
    
    // IsPathSeparator reports whether c is a directory separator character.
    func IsPathSeparator(c uint8) bool {
    	return PathSeparator == c
    }
    
    // splitPath returns the base name and parent directory.
    func splitPath(path string) (string, string) {
    	// if no better parent is found, the path is relative from "here"
    	dirname := "."
    
    	// Remove all but one leading slash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-BatchMatMulV2.mlir

    // CHECK:           [[CM2:%.*]] = arith.constant -2 : index
    // CHECK:           [[LHSHEAD:%.*]], [[LHSTAIL:%.*]] = "shape.split_at"([[LHSSHAPE]], [[CM2]])
    // CHECK:           [[RHSHEAD:%.*]], [[RHSTAIL:%.*]] = "shape.split_at"([[RHSSHAPE]], [[CM2]])
    // CHECK:           [[BCASTHEAD:%.*]] = shape.broadcast [[LHSHEAD]], [[RHSHEAD]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    	policyDBUsersListKey    = "policydb/users/"
    	policyDBSTSUsersListKey = "policydb/sts-users/"
    	policyDBGroupsListKey   = "policydb/groups/"
    )
    
    // splitPath splits a path into a top-level directory and a child item. The
    // parent directory retains the trailing slash.
    func splitPath(s string, lastIndex bool) (string, string) {
    	var i int
    	if lastIndex {
    		i = strings.LastIndex(s, "/")
    	} else {
    		i = strings.Index(s, "/")
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/os/removeall_at.go

    	err := Remove(path)
    	if err == nil || IsNotExist(err) {
    		return nil
    	}
    
    	// RemoveAll recurses by deleting the path base from
    	// its parent directory
    	parentDir, base := splitPath(path)
    
    	parent, err := Open(parentDir)
    	if IsNotExist(err) {
    		// If parent does not exist, base cannot exist. Fail silently
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    	defer parent.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                // find the actual file path.
                // See [LLFirJavaFacadeForBinaries#getBinaryPath] and [StandaloneProjectFactory#getBinaryPath] for a similar hack.
                val (libHomePath, pathInImage) = CoreJrtFileSystem.splitPath(pathString)
                libHomePath + JAR_SEPARATOR + "modules/$pathInImage"
            } else
                pathString
        }
    
        // From [LLFirJavaFacadeForBinaries#getBinaryPath]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    			apierrors.NewInternalError(fmt.Errorf("no RequestInfo found in the context")),
    			Codecs, schema.GroupVersion{}, w, req,
    		)
    		return
    	}
    	if !requestInfo.IsResourceRequest {
    		pathParts := splitPath(requestInfo.Path)
    		// only match /apis/<group>/<version>
    		// only registered under /apis
    		if len(pathParts) == 3 {
    			r.versionDiscoveryHandler.ServeHTTP(w, req)
    			return
    		}
    		// only match /apis/<group>
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK-NEXT: %[[SHAPEEQ1:.*]] = shape.cstr_eq %[[SHAPE1]], %[[SHAPE2]] : tensor<3xindex>, tensor<3xindex>
      // CHECK-NEXT: %[[C1:.*]] = arith.constant 1 : index
      // CHECK-NEXT: %[[HEAD:.*]], %[[TAIL:.*]] = "shape.split_at"(%[[SHAPE1]], %[[C1]]) : (tensor<3xindex>, index) -> (tensor<1xindex>, tensor<2xindex>)
      // CHECK-NEXT: %[[SHAPEEQ2:.*]] = shape.cstr_eq %[[SHAPE0]], %[[HEAD]] : tensor<1xindex>, tensor<1xindex>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
Back to top