Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 681 for SplitV (0.15 sec)

  1. cmd/kubeadm/app/util/version.go

    			// this is done to comply with the latest stable patch release.
    			patch = patch - 1
    			pre = ""
    		} else {
    			split := strings.Split(pre, ".")
    			if len(split) > 2 {
    				pre = split[0] + "." + split[1] // Exclude the third element
    			} else if len(split) < 2 {
    				pre = split[0] + ".0" // Append .0 to a partial label
    			}
    			pre = "-" + pre
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:50:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. pkg/spiffe/spiffe.go

    	}
    	split := strings.Split(s[URIPrefixLen:], "/")
    	if len(split) != 5 {
    		return Identity{}, fmt.Errorf("identity is not a spiffe format")
    	}
    	if split[1] != NamespaceSegment || split[3] != ServiceAccountSegment {
    		return Identity{}, fmt.Errorf("identity is not a spiffe format")
    	}
    	return Identity{
    		TrustDomain:    split[0],
    		Namespace:      split[2],
    		ServiceAccount: split[4],
    	}, nil
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          return spliterator.tryAdvance(action);
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
          Spliterator<E> split = spliterator.trySplit();
          return split == null ? null : new GeneralSpliteratorOfObject<>(split);
        }
      }
    
      private static final class GeneralSpliteratorOfPrimitive<
              E extends @Nullable Object, C, S extends Spliterator.OfPrimitive<E, C, S>>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. callbacks/preload.go

    		for _, join := range joins {
    			if _, ok := relationships.Relations[join]; ok && name == join {
    				joined = true
    				continue
    			}
    			joinNames := strings.SplitN(join, ".", 2)
    			if len(joinNames) == 2 {
    				if _, ok := relationships.Relations[joinNames[0]]; ok && name == joinNames[0] {
    					joined = true
    					nestedJoins = append(nestedJoins, joinNames[1])
    				}
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/list_pgo_issue66218.txt

    # Test that pgo properly splits off the Imports field so that list doesn't alias
    # the non-pgo variant's slice when it modifies the pgo variant's Imports field to
    # add the [.ForMain] suffix.
    
    go list -f 'ImportPath: "{{.ImportPath}}", Imports: "{{.Imports}}", ImportMap: "{{.ImportMap}}"' m/a m/b
    cmp stdout want
    
    -- want --
    ImportPath: "m/a", Imports: "[m/b [m/a]]", ImportMap: "map[m/b:m/b [m/a]]"
    ImportPath: "m/b", Imports: "[m/c]", ImportMap: "map[]"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 615 bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

            String[] split = Arrays.stream(probeResult.split(System.getProperty("line.separator")))
                    .filter(line -> line.startsWith(MetadataProbe.MARKER_PREFIX))
                    .map(line -> line.substring(MetadataProbe.MARKER_PREFIX.length()))
                    .toArray(String[]::new);
            if (split.length != ProbedSystemProperty.values().length - 1) { // -1 because of Z_ERROR
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinApplicationInitIntegrationTest.groovy

        @Requires(value = UnitTestPreconditions.KotlinOnlySupportsJdk21Earlier.class)
        def "initializes Kotlin application with JUnit Jupiter test framework with --split-project"() {
            when:
            run('init', '--type', 'kotlin-application', '--test-framework', 'junit-jupiter', "--split-project", '--java-version', JavaVersion.current().majorVersion)
    
            then:
            subprojectDir.file("build.gradle.kts").assertExists()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. gradle/shared-with-buildSrc/mirrors.settings.gradle.kts

        )
    
        val mirrorUrls: Map<String, String> =
            providers.environmentVariable("REPO_MIRROR_URLS").orNull
                ?.ifBlank { null }
                ?.split(',')
                ?.associate { nameToUrl ->
                    val (name, url) = nameToUrl.split(':', limit = 2)
                    name to url
                }
                ?: emptyMap()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/net/smtp/smtp_test.go

    		actualcmds := cmdbuf.String()
    		client := strings.Join(strings.Split(basicClient, "\n"), "\r\n")
    		if client != actualcmds {
    			t.Fatalf("Got:\n%s\nExpected:\n%s", actualcmds, client)
    		}
    	})
    }
    
    func TestNewClient(t *testing.T) {
    	server := strings.Join(strings.Split(newClientServer, "\n"), "\r\n")
    	client := strings.Join(strings.Split(newClientClient, "\n"), "\r\n")
    
    	var cmdbuf strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    			execClientConfig: loggingConfig,
    			args:             strings.Split("log ztunnel-9v7nw --level ztunnel:::pool:debug", " "),
    			expectedString:   "unrecognized logging level: pool:debug",
    			wantException:    true,
    		},
    		{ // logger name valid and logging level valid
    			execClientConfig: loggingConfig,
    			args:             strings.Split("log ztunnel-9v7nw --level ztunnel::pool:debug", " "),
    			expectedString:   "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top