Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,210 for uspace (1.45 sec)

  1. src/cmd/go/internal/work/shell_test.go

    	f.Add([]byte(`${FOO}`))
    	f.Add([]byte(`\${FOO}`))
    	f.Add([]byte(`$(/bin/false)`))
    	f.Add([]byte(`\$(/bin/false)`))
    	f.Add([]byte(`$((0))`))
    	f.Add([]byte(`\$((0))`))
    	f.Add([]byte(`unescaped space`))
    	f.Add([]byte(`escaped\ space`))
    	f.Add([]byte(`"unterminated quote`))
    	f.Add([]byte(`'unterminated quote`))
    	f.Add([]byte(`unterminated escape\`))
    	f.Add([]byte(`"quote with unterminated escape\`))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 15 15:30:05 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. operator/pkg/object/testdata/well-formed-with-space.yaml

    # there are some spaces at the end
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: myconfigmap
      namespace: default
    data:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 19:39:36 UTC 2023
    - 182 bytes
    - Viewed (0)
  3. src/go/printer/printer.go

    	output io.Writer
    	state  int
    	space  []byte
    }
    
    // trimmer is implemented as a state machine.
    // It can be in one of the following states:
    const (
    	inSpace  = iota // inside space
    	inEscape        // inside text bracketed by tabwriter.Escapes
    	inText          // inside text
    )
    
    func (p *trimmer) resetSpace() {
    	p.state = inSpace
    	p.space = p.space[0:0]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  4. cmd/data-usage.go

    	dataUsageObjName       = ".usage.json"
    	dataUsageObjNamePath   = bucketMetaPrefix + SlashSeparator + dataUsageObjName
    	dataUsageBloomName     = ".bloomcycle.bin"
    	dataUsageBloomNamePath = bucketMetaPrefix + SlashSeparator + dataUsageBloomName
    
    	backgroundHealInfoPath = bucketMetaPrefix + SlashSeparator + ".background-heal.json"
    
    	dataUsageCacheName = ".usage-cache.bin"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/strings/strings_test.go

    		"not " + p.name,
    	}
    }
    
    var trimFuncTests = []struct {
    	f        predicate
    	in       string
    	trimOut  string
    	leftOut  string
    	rightOut string
    }{
    	{isSpace, space + " hello " + space,
    		"hello",
    		"hello " + space,
    		space + " hello"},
    	{isDigit, "\u0e50\u0e5212hello34\u0e50\u0e51",
    		"hello",
    		"hello34\u0e50\u0e51",
    		"\u0e50\u0e5212hello"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. src/net/parse.go

    // trimSpace returns x without any leading or trailing ASCII whitespace.
    func trimSpace(x string) string {
    	for len(x) > 0 && isSpace(x[0]) {
    		x = x[1:]
    	}
    	for len(x) > 0 && isSpace(x[len(x)-1]) {
    		x = x[:len(x)-1]
    	}
    	return x
    }
    
    // isSpace reports whether b is an ASCII space character.
    func isSpace(b byte) bool {
    	return b == ' ' || b == '\t' || b == '\n' || b == '\r'
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    // dataUsageCacheV2 contains a cache of data usage entries version 2.
    type dataUsageCacheV2 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV2
    }
    
    // dataUsageCacheV3 contains a cache of data usage entries version 3.
    type dataUsageCacheV3 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV3
    }
    
    // dataUsageCacheV4 contains a cache of data usage entries version 4.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  8. pkg/test/framework/resource/matcher.go

    			}
    		}
    		i++
    	}
    	return append(a, s)
    }
    
    // rewrite rewrites a subname to having only printable characters and no white
    // space.
    // From go/src/testing/match.go
    func rewrite(s string) string {
    	b := []byte{}
    	for _, r := range s {
    		switch {
    		case isSpace(r):
    			b = append(b, '_')
    		case !strconv.IsPrint(r):
    			s := strconv.QuoteRune(r)
    			b = append(b, s[1:len(s)-1]...)
    		default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 12 23:30:37 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/util.go

    	names []string
    }
    
    // Not even worth sorting
    var aSpace []opSet
    
    // RegisterOpcode binds a list of instruction names
    // to a given instruction number range.
    func RegisterOpcode(lo As, Anames []string) {
    	if len(Anames) > AllowedOpCodes {
    		panic(fmt.Sprintf("too many instructions, have %d max %d", len(Anames), AllowedOpCodes))
    	}
    	aSpace = append(aSpace, opSet{lo, Anames})
    }
    
    func (a As) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/log/slog/text_handler.go

    			// Quote anything except a backslash that would need quoting in a
    			// JSON string, as well as space and '='
    			if b != '\\' && (b == ' ' || b == '=' || !safeSet[b]) {
    				return true
    			}
    			i++
    			continue
    		}
    		r, size := utf8.DecodeRuneInString(s[i:])
    		if r == utf8.RuneError || unicode.IsSpace(r) || !unicode.IsPrint(r) {
    			return true
    		}
    		i += size
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top