Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for containsLine (0.19 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

    import java.nio.file.Path
    import java.security.KeyStore
    import java.util.stream.Stream
    
    import static org.gradle.initialization.IGradlePropertiesLoader.ENV_PROJECT_PROPERTIES_PREFIX
    import static org.gradle.util.Matchers.containsLine
    import static org.gradle.util.Matchers.matchesRegexp
    
    class ConfigurationCacheEncryptionIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        TestFile keyStoreDir
        String encryptionKeyText
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MultiProjectJvmApplicationInitIntegrationTest.groovy

    import static org.gradle.buildinit.plugins.internal.modifiers.Language.KOTLIN
    import static org.gradle.buildinit.plugins.internal.modifiers.Language.SCALA
    import static org.gradle.util.Matchers.containsLine
    import static org.gradle.util.Matchers.containsText
    import static org.hamcrest.core.AllOf.allOf
    
    
    abstract class AbstractMultiProjectJvmApplicationInitIntegrationTest extends AbstractJvmLibraryInitIntegrationSpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/strings/strings.go

    }
    
    // ContainsAny reports whether any Unicode code points in chars are within s.
    func ContainsAny(s, chars string) bool {
    	return IndexAny(s, chars) >= 0
    }
    
    // ContainsRune reports whether the Unicode code point r is within s.
    func ContainsRune(s string, r rune) bool {
    	return IndexRune(s, r) >= 0
    }
    
    // ContainsFunc reports whether any Unicode code points r within s satisfy f(r).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  4. src/testing/fstest/testfs.go

    		for _, d := range list {
    			if strings.ContainsRune(d.Name(), c) {
    				have = true
    			} else {
    				haveNot = true
    			}
    		}
    		if have && haveNot {
    			break
    		}
    	}
    	if c > 'z' {
    		c = 'a'
    	}
    	glob += "*" + string(c) + "*"
    
    	var want []string
    	for _, d := range list {
    		if strings.ContainsRune(d.Name(), c) {
    			want = append(want, path.Join(dir, d.Name()))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. internal/hash/checksum.go

    func NewChecksumWithType(alg ChecksumType, value string) *Checksum {
    	if !alg.IsSet() {
    		return nil
    	}
    	wantParts := 0
    	if strings.ContainsRune(value, '-') {
    		valSplit := strings.Split(value, "-")
    		if len(valSplit) != 2 {
    			return nil
    		}
    		value = valSplit[0]
    		nParts, err := strconv.Atoi(valSplit[1])
    		if err != nil {
    			return 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)
  6. chainable_api.go

    	return
    }
    
    // Omit specify fields that you want to ignore when creating, updating and querying
    func (db *DB) Omit(columns ...string) (tx *DB) {
    	tx = db.getInstance()
    
    	if len(columns) == 1 && strings.ContainsRune(columns[0], ',') {
    		tx.Statement.Omits = strings.FieldsFunc(columns[0], utils.IsValidDBNameChar)
    	} else {
    		tx.Statement.Omits = columns
    	}
    	return
    }
    
    // Where add conditions
    //
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. src/go/build/read.go

    func isValidImport(s string) bool {
    	const illegalChars = `!"#$%&'()*,:;<=>?[\]^{|}` + "`\uFFFD"
    	for _, r := range s {
    		if !unicode.IsGraphic(r) || unicode.IsSpace(r) || strings.ContainsRune(illegalChars, r) {
    			return false
    		}
    	}
    	return s != ""
    }
    
    // parseGoEmbed parses the text following "//go:embed" to extract the glob patterns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/shell.go

    		}
    	}
    
    	if cfg.BuildN || cfg.BuildX {
    		var envcmdline string
    		for _, e := range env {
    			if j := strings.IndexByte(e, '='); j != -1 {
    				if strings.ContainsRune(e[j+1:], '\'') {
    					envcmdline += fmt.Sprintf("%s=%q", e[:j], e[j+1:])
    				} else {
    					envcmdline += fmt.Sprintf("%s='%s'", e[:j], e[j+1:])
    				}
    				envcmdline += " "
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/module/module.go

    		// We allow spaces (U+0020) in file names.
    		const allowed = "!#$%&()+,-.=@[]^_{}~ "
    		if '0' <= r && r <= '9' || 'A' <= r && r <= 'Z' || 'a' <= r && r <= 'z' {
    			return true
    		}
    		return strings.ContainsRune(allowed, r)
    	}
    	// It may be OK to add more ASCII punctuation here, but only carefully.
    	// For example Windows disallows < > \, and macOS disallows :, so we must not allow those.
    	return unicode.IsLetter(r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/resolver.go

    	}
    	if s == "" {
    		return "", fmt.Errorf("empty string")
    	}
    	const illegalChars = `!"#$%&'()*,:;<=>?[\]^{|}` + "`\uFFFD"
    	for _, r := range s {
    		if !unicode.IsGraphic(r) || unicode.IsSpace(r) || strings.ContainsRune(illegalChars, r) {
    			return s, fmt.Errorf("invalid character %#U", r)
    		}
    	}
    	return s, nil
    }
    
    // declarePkgObj declares obj in the package scope, records its ident -> obj mapping,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top