Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 263 for SplitN (0.14 seconds)

  1. scripts/mkdocs_hooks.py

                # no idea why, so, let's just modify the existing one
                # new_section = Section(title=new_title, children=new_children)
                item.title = new_title.split("{ #")[0]
                item.children = new_children
                new_items.append(item)
            else:
                new_items.append(item)
        return new_items
    
    
    def on_nav(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

            return line.replace(projectDependencyRegex) { match ->
                val projectName = match.groupValues[1]
                val parts = projectName.split(":").last().split("-")
                "projects.${parts.first()}${parts.drop(1).joinToString("") { it.replaceFirstChar { c -> c.uppercaseChar() } }}"
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  3. tests/test_request_params/test_body/utils.py

    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/json"]["schema"]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 268 bytes
    - Click Count (0)
  4. cmd/metacache-marker.go

    	}
    	start := strings.LastIndex(s, "[")
    	o.Marker = s[:start]
    	end := strings.LastIndex(s, "]")
    	tag := strings.Trim(s[start:end], "[]")
    	tags := strings.SplitSeq(tag, ",")
    	for tag := range tags {
    		kv := strings.Split(tag, ":")
    		if len(kv) < 2 {
    			continue
    		}
    		switch kv[0] {
    		case "minio_cache":
    			if kv[1] != markerTagVersion {
    				continue
    			}
    		case "id":
    			o.ID = kv[1]
    		case "return":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

            if (WILDCARD.equals(pattern) || pattern.equals(originalId)) {
                result = true;
            } else {
                // process the list
                String[] repos = pattern.split(",");
                for (String repo : repos) {
                    repo = repo.trim();
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. src/archive/zip/reader.go

    		}
    
    		slices.SortFunc(r.fileList, func(a, b fileListEntry) int {
    			return fileEntryCompare(a.name, b.name)
    		})
    	})
    }
    
    func fileEntryCompare(x, y string) int {
    	xdir, xelem, _ := split(x)
    	ydir, yelem, _ := split(y)
    	if xdir != ydir {
    		return strings.Compare(xdir, ydir)
    	}
    	return strings.Compare(xelem, yelem)
    }
    
    // Open opens the named file in the ZIP archive,
    // using the semantics of fs.FS.Open:
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Mar 11 22:19:38 GMT 2025
    - 28.4K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

            description = "Smoke tests against third party plugins to see if they still work with the current Gradle version"
    
            if (flakyTestStrategy != FlakyTestStrategy.ONLY) {
                // No need to split in FlakyTestQuarantine
                tcParallelTests(splitNumber)
            }
    
            requirements {
                // Smoke tests is usually heavy and the build time is twice on EC2 agents
                requiresNotEc2Agent()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

    import java.net.InetAddress
    import okhttp3.internal.interleave
    
    /**
     * Implementation of HappyEyeballs Sorting Addresses.
     *
     * The current implementation does not address any of:
     *  - Async DNS split by IP class
     *  - Stateful handling of connectivity results
     *  - The prioritisation of addresses
     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Apr 24 15:15:15 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. internal/hash/checksum_test.go

    // for multipart checksum
    func TestChecksumSerializeDeserializeMultiPart(t *testing.T) {
    	// Create dummy data that we'll split into 3 parts
    	dummyData := []byte("The quick brown fox jumps over the lazy dog. " +
    		"Pack my box with five dozen brown eggs. " +
    		"Have another go it will all make sense in the end!")
    
    	// Split data into 3 parts
    	partSize := len(dummyData) / 3
    	part1Data := dummyData[0:partSize]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. cmd/config-migrate.go

    	switch cfg.Version {
    	case "29":
    		// V29 -> V30
    		cfg.Compression.Enabled = false
    		cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator)
    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    	case "30":
    		// V30 -> V31
    		cfg.OpenID = openid.Config{}
    		cfg.Policy.OPA = opa.Args{
    			URL:       &xnet.URL{},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top