Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for istr (0.21 sec)

  1. src/runtime/iface_test.go

    func (TL) Method1() {}
    func (TL) Method2() {}
    
    type T8 uint8
    type T16 uint16
    type T32 uint32
    type T64 uint64
    type Tstr string
    type Tslice []byte
    
    func (T8) Method1()     {}
    func (T16) Method1()    {}
    func (T32) Method1()    {}
    func (T64) Method1()    {}
    func (Tstr) Method1()   {}
    func (Tslice) Method1() {}
    
    var (
    	e  any
    	e_ any
    	i1 I1
    	i2 I2
    	ts TS
    	tm TM
    	tl TL
    	ok bool
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  2. src/math/big/int_test.go

    	} {
    		i, ok := new(Int).SetString(test.istr, 0)
    		if !ok {
    			t.Errorf("SetString(%s) failed", test.istr)
    			continue
    		}
    
    		// Test against expectation.
    		f, acc := i.Float64()
    		if f != test.f || acc != test.acc {
    			t.Errorf("%s: got %f (%s); want %f (%s)", test.istr, f, acc, test.f, test.acc)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse.go

    		if i < len(sub) {
    			istr, iflags = p.leadingString(sub[i])
    			if iflags == strflags {
    				same := 0
    				for same < len(str) && same < len(istr) && str[same] == istr[same] {
    					same++
    				}
    				if same > 0 {
    					// Matches at least one rune in current range.
    					// Keep going around.
    					str = str[:same]
    					continue
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    }
    
    func (ss SortableSliceOfMaps) Len() int {
    	return len(ss.s)
    }
    
    func (ss SortableSliceOfMaps) Less(i, j int) bool {
    	iStr := fmt.Sprintf("%v", ss.s[i][ss.k])
    	jStr := fmt.Sprintf("%v", ss.s[j][ss.k])
    	return sort.StringsAreSorted([]string{iStr, jStr})
    }
    
    func (ss SortableSliceOfMaps) Swap(i, j int) {
    	tmp := ss.s[i]
    	ss.s[i] = ss.s[j]
    	ss.s[j] = tmp
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  5. src/encoding/gob/decode.go

    			break
    		}
    		if state.fieldnum >= len(engine.instr)-delta { // subtract to compare without overflow
    			error_(errRange)
    		}
    		fieldnum := state.fieldnum + delta
    		instr := &engine.instr[fieldnum]
    		var field reflect.Value
    		if instr.index != nil {
    			// Otherwise the field is unknown to us and instr.op is an ignore op.
    			field = value.FieldByIndex(instr.index)
    			if field.Kind() == reflect.Pointer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/str/str.go

    // Copyright 2017 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 str provides string manipulation utilities.
    package str
    
    import (
    	"fmt"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // StringList flattens its arguments into a single []string.
    // Each argument in args must have type string or []string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/condition.go

    }
    
    func cinv_csinv_32_condsel_cond(instr uint32) bool {
    	return instr&0x1f0000 != 0x1f0000 && instr&0xe000 != 0xe000 && instr&0x3e0 != 0x3e0 && (instr>>5)&0x1f == (instr>>16)&0x1f
    }
    
    func cinv_csinv_64_condsel_cond(instr uint32) bool {
    	return instr&0x1f0000 != 0x1f0000 && instr&0xe000 != 0xe000 && instr&0x3e0 != 0x3e0 && (instr>>5)&0x1f == (instr>>16)&0x1f
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy

            assertReads(instr, "test1")
            assertReads(instr, "test2")
            assertReads(instr, "end")
    
            def nread = instr.read(new byte[20])
            assertThat(nread, equalTo(-1))
    
            instr.close()
        }
    
        @Test
        void canReadSingleChars() {
            def instr = new DisconnectableInputStream(stream("abc"), toActionExecuter(executorFactory))
    
            assertThat((char) instr.read(), equalTo('a'.charAt(0)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/str.go

    Dmitri Shuralyov <******@****.***> 1697571594 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 500 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/str.go

    Dmitri Shuralyov <******@****.***> 1697571594 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 504 bytes
    - Viewed (0)
Back to top