Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 385 for S1 (0.02 sec)

  1. src/internal/types/testdata/check/builtins1.go

    	_ = make(S1, 10, 20)
    	_ = make /* ERROR "expects 2 or 3 arguments" */ (S1, 10, 20, 30)
    	_ = make(S2 /* ERROR "cannot make S2: no core type" */ , 10)
    
    	type M0 map[string]int
    	_ = make(map[string]int)
    	_ = make(M0)
    	_ = make(M1)
    	_ = make(M1, 10)
    	_ = make/* ERROR "expects 1 or 2 arguments" */(M1, 10, 20)
    	_ = make(M2 /* ERROR "cannot make M2: no core type" */ )
    
    	type C0 chan int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 21:16:29 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. test/fixedbugs/bug437.dir/two.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package two
    
    import "./one"
    
    type S2 struct {
    	one.S1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 216 bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho.go

    		ml.data[0] = uint32(linkoff + s1 + s2)                /* symoff */
    		ml.data[1] = uint32(nsortsym)                         /* nsyms */
    		ml.data[2] = uint32(linkoff + s1 + s2 + s3 + s4 + s5) /* stroff */
    		ml.data[3] = uint32(s6)                               /* strsize */
    
    		if ctxt.LinkMode != LinkExternal {
    			machodysymtab(ctxt, linkoff+s1+s2)
    
    			ml := newMachoLoad(ctxt.Arch, LC_LOAD_DYLINKER, 6)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  4. test/fixedbugs/issue8028.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 8028. Used to fail in -race mode with "non-orig name" error.
    
    package p
    
    var (
    	t2 = T{F, "s1"}
    	t1 = T{F, "s2"}
    
    	tt = [...]T{t1, t2}
    )
    
    type I interface{}
    
    type T struct {
    	F func() I
    	S string
    }
    
    type E struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 426 bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_riscv64.S

    	fsd	f22, 152(sp)
    	fsd	f23, 160(sp)
    	fsd	f24, 168(sp)
    	fsd	f25, 176(sp)
    	fsd	f26, 184(sp)
    	fsd	f27, 192(sp)
    
    	// a0 = *fn, a1 = *setg_gcc, a2 = *g
    	mv	s1, a0
    	mv	s0, a1
    	mv	a0, a2
    	jalr	ra, s0	// call setg_gcc (clobbers x30 aka g)
    	jalr	ra, s1	// call fn
    
    	ld	x1, 0(sp)
    	ld	x8, 8(sp)
    	ld	x9, 16(sp)
    	ld	x18, 24(sp)
    	ld	x19, 32(sp)
    	ld	x20, 40(sp)
    	ld	x21, 48(sp)
    	ld	x22, 56(sp)
    	ld	x23, 64(sp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 05 16:41:48 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * 文字列を含んでいるかどうか返します。
         *
         * @param s1
         *            文字列
         * @param s2
         *            比較する対象となる文字列
         * @return 文字列を含んでいるかどうか
         */
        public static boolean contains(final String s1, final String s2) {
            if (isEmpty(s1)) {
                return false;
            }
            return s1.indexOf(s2) >= 0;
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. test/typeparam/metrics.go

    }
    
    // _Equal reports whether two slices are equal: the same length and all
    // elements equal. All floating point NaNs are considered equal.
    func _SlicesEqual[Elem comparable](s1, s2 []Elem) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	for i, v1 := range s1 {
    		v2 := s2[i]
    		if v1 != v2 {
    			isNaN := func(f Elem) bool { return f != f }
    			if !isNaN(v1) || !isNaN(v2) {
    				return false
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  8. maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

        private static class OptionComparator implements Comparator<Option> {
            public int compare(Option opt1, Option opt2) {
                String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt();
                String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt();
                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/internal/fuzz/encoding_test.go

    	f.Add(string([]rune{unicode.ReplacementChar}))
    
    	f.Fuzz(func(t *testing.T, s1 string) {
    		b := marshalCorpusFile(s1)
    		t.Logf("marshaled %q:\n%s", s1, b)
    
    		rs, err := unmarshalCorpusFile(b)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(rs) != 1 {
    			t.Fatalf("unmarshaled %d values", len(rs))
    		}
    		s2 := rs[0].(string)
    		if s2 != s1 {
    			t.Errorf("unmarshaled %q", s2)
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskInputsTest.groovy

            !inputs.hasSourceFiles
        }
    
        def "can register source files"() {
            when:
            inputs.files(["s1", "s2"]).skipWhenEmpty()
            then:
            inputs.hasSourceFiles
            inputs.sourceFiles.files == files("s1", "s2")
            inputFileProperties() == ['$1': ["s1", "s2"]]
        }
    
        def canRegisterSourceFile() {
            when:
            inputs.file('file').skipWhenEmpty()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 16 20:09:26 UTC 2022
    - 7.4K bytes
    - Viewed (0)
Back to top