Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for istr (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/encoding/gob/codec_test.go

    		instr.op(instr, state, reflect.ValueOf(data))
    		if !bytes.Equal(signedResult, b.Bytes()) {
    			t.Errorf("int enc instructions: expected % x got % x", signedResult, b.Bytes())
    		}
    	}
    
    	// uint
    	{
    		b.Reset()
    		var data uint = 17
    		instr := &encInstr{encUint, 6, nil, 0}
    		state := newEncoderState(b)
    		instr.op(instr, state, reflect.ValueOf(data))
    		if !bytes.Equal(unsignedResult, b.Bytes()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	Frsize   uint64
    	Blocks   uint64
    	Bfree    uint64
    	Bavail   uint64
    	Files    uint64
    	Ffree    uint64
    	Favail   uint64
    	Fsid     uint64
    	Basetype [16]int8
    	Flag     uint64
    	Namemax  uint64
    	Fstr     [32]int8
    }
    
    type RawSockaddrInet4 struct {
    	Family uint16
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]int8
    }
    
    type RawSockaddrInet6 struct {
    	Family   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RemoteDependencyResolveConsoleIntegrationTest.groovy

            }
        }
    
        byte[] longXml(File file) {
            def instr = new ByteArrayOutputStream()
            instr << file.bytes
            while (instr.size() < 2048) {
                instr << "          ".bytes
            }
            return instr.toByteArray()
        }
    
        byte[] longJar(File file) {
            return longXml(file)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/encoding/gob/encode.go

    	defer enc.freeEncoderState(state)
    	state.fieldnum = -1
    	for i := 0; i < len(engine.instr); i++ {
    		instr := &engine.instr[i]
    		if i >= value.NumField() {
    			// encStructTerminator
    			instr.op(instr, state, reflect.Value{})
    			break
    		}
    		field := value.FieldByIndex(instr.index)
    		if instr.indir > 0 {
    			field = encIndirect(field, instr.indir)
    			// TODO: Is field guaranteed valid? If so we could avoid this check.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top