Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 296 for Ss (0.02 sec)

  1. okhttp/src/test/resources/web-platform-test-toascii.json

      },
      {
        "input": "-x.ß",
        "output": "-x.xn--zca"
      },
      {
        "comment": "Label with trailing hyphen",
        "input": "x-.xn--zca",
        "output": "x-.xn--zca"
      },
      {
        "input": "x-.ß",
        "output": "x-.xn--zca"
      },
      {
        "comment": "Empty labels",
        "input": "x..xn--zca",
        "output": "x..xn--zca"
      },
      {
        "input": "x..ß",
        "output": "x..xn--zca"
      },
      {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. src/go/token/serialize.go

    func (s *FileSet) Read(decode func(any) error) error {
    	var ss serializedFileSet
    	if err := decode(&ss); err != nil {
    		return err
    	}
    
    	s.mutex.Lock()
    	s.base = ss.Base
    	files := make([]*File, len(ss.Files))
    	for i := 0; i < len(ss.Files); i++ {
    		f := &ss.Files[i]
    		files[i] = &File{
    			name:  f.Name,
    			base:  f.Base,
    			size:  f.Size,
    			lines: f.Lines,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 29 22:19:48 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue8606b.go

    		a, b interface{}
    	}{
    		{SI{s: bad1, i: 1}, SI{s: bad2, i: 2}},
    		{SS{s: bad1, t: "a"}, SS{s: bad2, t: "aa"}},
    		{SS{s: "a", t: bad1}, SS{s: "b", t: bad2}},
    		// This one would panic because the length of both strings match, and we check
    		// the body of the bad strings before the body of the good strings.
    		//{SS{s: bad1, t: "a"}, SS{s: bad2, t: "b"}},
    	} {
    		if test.a == test.b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds.go

    // ToFloat converts to a floating-point representation.
    // This conversion may lose precision.
    func (ss SeatSeconds) ToFloat() float64 {
    	return float64(ss) / ssScale
    }
    
    // DurationPerSeat returns duration per seat.
    // This division may lose precision.
    func (ss SeatSeconds) DurationPerSeat(seats float64) time.Duration {
    	return time.Duration(float64(ss) / seats * (float64(time.Second) / ssScale))
    }
    
    // String converts to a string.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 09:16:46 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/riscv/list.go

    	}
    }
    
    func opSuffixString(s uint8) string {
    	if s&rmSuffixBit == 0 {
    		return ""
    	}
    
    	ss, err := rmSuffixString(s)
    	if err != nil {
    		ss = fmt.Sprintf("<invalid 0x%x>", s)
    	}
    	if ss == "" {
    		return ss
    	}
    	return fmt.Sprintf(".%s", ss)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 959 bytes
    - Viewed (0)
  6. src/fmt/scan.go

    // syntax error.
    func (s *ss) mustReadRune() (r rune) {
    	r = s.getRune()
    	if r == eof {
    		s.error(io.ErrUnexpectedEOF)
    	}
    	return
    }
    
    func (s *ss) UnreadRune() error {
    	s.rs.UnreadRune()
    	s.atEOF = false
    	s.count--
    	return nil
    }
    
    func (s *ss) error(err error) {
    	panic(scanError{err})
    }
    
    func (s *ss) errorString(err string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/str/str.go

    			return s, t
    		}
    		clash[fold] = s
    	}
    	return "", ""
    }
    
    // Uniq removes consecutive duplicate strings from ss.
    func Uniq(ss *[]string) {
    	if len(*ss) <= 1 {
    		return
    	}
    	uniq := (*ss)[:1]
    	for _, s := range *ss {
    		if s != uniq[len(uniq)-1] {
    			uniq = append(uniq, s)
    		}
    	}
    	*ss = uniq
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/testdata/main4.c

    static void* thread1(void* arg __attribute__ ((unused))) {
    	stack_t ss;
    	int i;
    	stack_t nss;
    	struct timespec ts;
    
    	// Set up an alternate signal stack for this thread.
    	memset(&ss, 0, sizeof ss);
    	ss.ss_sp = malloc(CSIGSTKSZ);
    	if (ss.ss_sp == NULL) {
    		die("malloc");
    	}
    	ss.ss_flags = 0;
    	ss.ss_size = CSIGSTKSZ;
    	if (sigaltstack(&ss, NULL) < 0) {
    		die("sigaltstack");
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. src/compress/flate/inflate_test.go

    func TestResetDict(t *testing.T) {
    	dict := []byte("the lorem fox")
    	ss := []string{
    		"lorem ipsum izzle fo rizzle",
    		"the quick brown fox jumped over",
    	}
    
    	deflated := make([]bytes.Buffer, len(ss))
    	for i, s := range ss {
    		w, _ := NewWriterDict(&deflated[i], DefaultCompression, dict)
    		w.Write([]byte(s))
    		w.Close()
    	}
    
    	inflated := make([]bytes.Buffer, len(ss))
    
    	f := NewReader(nil)
    	for i := range inflated {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:23:54 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue56768.go

    package p
    
    type I interface {
    	M()
    }
    
    type slice []any
    
    func f() {
    	ss := struct{ i I }{}
    
    	_ = [...]struct {
    		s slice
    	}{
    		{
    			s: slice{ss.i},
    		},
    		{
    			s: slice{ss.i},
    		},
    		{
    			s: slice{ss.i},
    		},
    		{
    			s: slice{ss.i},
    		},
    		{
    			s: slice{ss.i},
    		},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 19:55:28 UTC 2022
    - 441 bytes
    - Viewed (0)
Back to top