Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 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. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java

            BY_PATH = new Cache(ROOT);
        }
    
        private final String path;
        private final String[] components;
        private final ModelPath parent;
    
        public ModelPath(String path) {
            this(path, splitPath(path));
        }
    
        private ModelPath(String path, String[] components) {
            // one should really avoid using this constructor as it is totally inefficient
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. pkg/test/echo/server/forwarder/config.go

    	// Extract the host from the headers and then remove it.
    	c.hostHeader = c.headers.Get(hostHeader)
    	c.headers.Del(hostHeader)
    
    	c.urlHost, c.urlPath = splitPath(c.Request.Url)
    
    	c.method = c.Request.Method
    	if c.method == "" {
    		c.method = "GET"
    	}
    
    	if i := strings.IndexByte(c.Request.Url, ':'); i > 0 {
    		c.scheme = scheme.Instance(strings.ToLower(c.Request.Url[0:i]))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 9.8K 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/os_unix_test.go

    		{"/a/b/", "/a", "b"},
    		{"/a/b/c", "/a/b", "c"},
    		{"//a", "/", "a"},
    		{"//a/", "/", "a"},
    		{"///a", "/", "a"},
    		{"///a/", "/", "a"},
    	} {
    		if dir, base := SplitPath(tt.path); dir != tt.wantDir || base != tt.wantBase {
    			t.Errorf("splitPath(%q) = %q, %q, want %q, %q", tt.path, dir, base, tt.wantDir, tt.wantBase)
    		}
    	}
    }
    
    // Test that copying to files opened with O_APPEND works and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K 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)
Back to top