Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 296 for sS (0.03 sec)

  1. src/vendor/golang.org/x/text/unicode/norm/composition.go

    func (ss *streamSafe) first(p Properties) {
    	*ss = streamSafe(p.nTrailingNonStarters())
    }
    
    // insert returns a ssState value to indicate whether a rune represented by p
    // can be inserted.
    func (ss *streamSafe) next(p Properties) ssState {
    	if *ss > maxNonStarters {
    		panic("streamSafe was not reset")
    	}
    	n := p.nLeadingNonStarters()
    	if *ss += streamSafe(n); *ss > maxNonStarters {
    		*ss = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  2. src/slices/slices_test.go

    		b.Run(c.name, func(b *testing.B) {
    			ss := make([]int, 0, 64)
    			for k := 0; k < b.N; k++ {
    				ss = ss[:0]
    				ss = append(ss, c.s...)
    				_ = Compact(ss)
    			}
    		})
    	}
    }
    
    func BenchmarkCompact_Large(b *testing.B) {
    	type Large [16]int
    	const N = 1024
    
    	b.Run("all_dup", func(b *testing.B) {
    		ss := make([]Large, N)
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func (ss *streamSafe) first(p Properties) {
    	*ss = streamSafe(p.nTrailingNonStarters())
    }
    
    // insert returns a ssState value to indicate whether a rune represented by p
    // can be inserted.
    func (ss *streamSafe) next(p Properties) ssState {
    	if *ss > maxNonStarters {
    		panic("streamSafe was not reset")
    	}
    	n := p.nLeadingNonStarters()
    	if *ss += streamSafe(n); *ss > maxNonStarters {
    		*ss = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. test/convlit.go

    var _ []byte = "abc" // ERROR "cannot use|incompatible|invalid|cannot convert"
    
    // named string is okay
    type Tstring string
    
    var ss Tstring = "abc"
    var _ = []rune(ss)
    var _ = []byte(ss)
    
    // implicit is still not
    var _ []rune = ss // ERROR "cannot use|incompatible|invalid"
    var _ []byte = ss // ERROR "cannot use|incompatible|invalid"
    
    // named slice is now ok
    type Trune []rune
    type Tbyte []byte
    
    var _ = Trune("abc") // ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

      val knownFailures =
        setOf(
          // OkHttp rejects empty labels.
          "x..xn--zca",
          "x..ß",
          // OkHttp rejects labels longer than 63 code points, the web platform tests don't.
          "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca",
          "x01234567890123456789012345678901234567890123456789012345678901x.ß",
          "x01234567890123456789012345678901234567890123456789012345678901x",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/fuse.go

    //	  \ /      | /         \ |     | |
    //	   ss      ss           ss      ss
    //
    // If all Phi ops in ss have identical variables for slots corresponding to
    // s0, s1 and b then the branch can be dropped.
    // This optimization often comes up in switch statements with multiple
    // expressions in a case clause:
    //
    //	switch n {
    //	  case 1,2,3: return 4
    //	}
    //
    // TODO: If ss doesn't contain any OpPhis, are s0 and s1 dead code anyway.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. src/encoding/json/fold_test.go

    		{"aes-key", "AES-KEY"},
    		{"AES-KEY", "aesKey"},
    		{"aesKey", "AesKey"},
    		{"AesKey", "AESKey"},
    		{"AESKey", "aeskey"},
    		{"DESKey", "aeskey"},
    		{"AES Key", "aeskey"},
    	} {
    		f.Add([]byte(ss[0]), []byte(ss[1]))
    	}
    	equalFold := func(x, y []byte) bool { return string(foldName(x)) == string(foldName(y)) }
    	f.Fuzz(func(t *testing.T, x, y []byte) {
    		got := equalFold(x, y)
    		want := bytes.EqualFold(x, y)
    		if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 17:37:27 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc

      StringStream() { SetUnbuffered(); }
      ~StringStream() override = default;
      uint64_t current_pos() const override { return 0; }
    
      void write_impl(const char* ptr, size_t size) override {
        ss.write(ptr, size);
      }
      std::stringstream ss;
    };
    
    class TestPassInstrumentation : public ::testing::Test {
     public:
      void SetPassThatChangedIdentity(absl::string_view pass_name) {
        pass_that_changed_identity_ = pass_name;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. pkg/kubelet/server/server_websocket_test.go

    	}
    
    	podNamespace := "other"
    	podName := "foo"
    
    	for desc := range tests {
    		test := tests[desc]
    		t.Run(desc, func(t *testing.T) {
    			ss, err := newTestStreamingServer(0)
    			require.NoError(t, err)
    			defer ss.testHTTPServer.Close()
    			fw := newServerTestWithDebug(true, ss)
    			defer fw.testHTTPServer.Close()
    
    			portForwardFuncDone := make(chan struct{})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. test/fixedbugs/issue10925.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "fmt"
    
    func prototype(xyz []string) {}
    func main() {
    	var got [][]string
    	f := prototype
    	f = func(ss []string) { got = append(got, ss) }
    	for _, s := range []string{"one", "two", "three"} {
    		f([]string{s})
    	}
    	if got[0][0] != "one" || got[1][0] != "two" || got[2][0] != "three" {
    		// Bug's wrong output was [[three] [three] [three]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 22 01:36:11 UTC 2015
    - 588 bytes
    - Viewed (0)
Back to top