Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,554 for pats (0.07 sec)

  1. pkg/config/analysis/analyzers/virtualservice/gateways.go

    	for i, h := range server.Hosts {
    		if strings.Contains(h, "/") {
    			parts := strings.Split(h, "/")
    			if parts[0] == "." {
    				server.Hosts[i] = fmt.Sprintf("%s/%s", namespace, parts[1])
    			} else if parts[0] == "*" {
    				if parts[1] == "*" {
    					server.Hosts = []string{"*"}
    					return
    				}
    				server.Hosts[i] = parts[1]
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 01:28:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/database/sql/fakedb_test.go

    	}
    	return stmt, nil
    }
    
    // parts are table|col=type,col2=type2
    func (c *fakeConn) prepareCreate(stmt *fakeStmt, parts []string) (*fakeStmt, error) {
    	if len(parts) != 2 {
    		stmt.Close()
    		return nil, errf("invalid CREATE syntax with %d parts; want 2", len(parts))
    	}
    	stmt.table = parts[0]
    	for n, colspec := range strings.Split(parts[1], ",") {
    		nameType := strings.Split(colspec, "=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    			if debug {
    				prefix := fmt.Sprintf("in %s, importing %s: ",
    					d.pkg.Path(), imp.Path())
    				log.Print(prefix, fmt.Sprintf(format, args...))
    			}
    		}
    
    		// Read the gob-encoded facts.
    		data, err := read(imp.Path())
    		if err != nil {
    			return nil, fmt.Errorf("in %s, can't import facts for package %q: %v",
    				d.pkg.Path(), imp.Path(), err)
    		}
    		if len(data) == 0 {
    			continue // no facts
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ComponentIdentifierParserFactory.java

                String[] parts = notation.split(":");
                if (parts.length != 3) {
                    throw new InvalidUserDataException("Invalid module component notation: " + notation + " : must be a valid 3 part identifier, eg.: org.gradle:gradle:1.0");
                }
                return DefaultModuleComponentIdentifier.newId(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheVersion.java

        public static CacheVersion parse(String version) {
            String[] parts = StringUtils.split(version, COMPONENT_SEPARATOR);
            int[] components = new int[parts.length];
            for (int i = 0; i < parts.length; i++) {
                components[i] = Integer.parseInt(parts[i]);
            }
            return new CacheVersion(components);
        }
    
        public static CacheVersion empty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java

            return path;
        }
    
        /**
         * Resolves the given path relative to this name. The path can be a relative path or an absolute path. The '/' character is used to separate the elements of the path.
         */
        public ExternalResourceName resolve(String path) {
            List<String> parts = new ArrayList<>();
            boolean leadingSlash;
            boolean trailingSlash = path.endsWith("/");
            if (path.startsWith("/")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

                        classParts = parts.subList(lastPackagePartIndexExclusive, parts.size),
                        callable = null,
                    )
                )
    
                if (lastPackagePartIndexExclusive <= parts.size - 1) {
                    yield(
                        FqNameInterpretation.create(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. pkg/config/resource/name.go

    func NewShortOrFullName(defaultNamespace Namespace, name string) FullName {
    	parts := strings.SplitN(name, "/", 2)
    	if len(parts) == 1 {
    		return FullName{
    			Namespace: defaultNamespace,
    			Name:      LocalName(parts[0]),
    		}
    	}
    
    	return FullName{
    		Namespace: Namespace(parts[0]),
    		Name:      LocalName(parts[1]),
    	}
    }
    
    // Validate that the Name and Namespace are set.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 14 13:55:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. internal/hash/checksum.go

    		if c.Type.RawByteLen() == 0 || len(parts)%c.Type.RawByteLen() != 0 {
    			hashLogIf(context.Background(), fmt.Errorf("internal error: Unexpected checksum length: %d, each checksum %d", len(parts), c.Type.RawByteLen()))
    			checksums = 0
    			parts = nil
    		} else if len(parts) > 0 {
    			checksums = len(parts) / c.Type.RawByteLen()
    		}
    		if !c.Type.Is(ChecksumIncludesMultipart) {
    			parts = nil
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

        // Splitting the type and subtype into parts
        std::vector<std::string> parts =
            absl::StrSplit(type, absl::ByAnyChar("()"));
        // If type has subtypes then parts[0] = type, parts[1] = subtypes,
        // parts[2] = ""
        if (parts.size() != 3 && parts.size() != 1) {
          return errors::InvalidArgument("Invalid type '", type, "'");
        } else if (parts.size() == 3) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top