Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setBig (0.42 sec)

  1. src/math/big/bits_test.go

    			min = b
    		}
    	}
    
    	// create bit pattern
    	x := NewInt(0)
    	for _, b := range bits {
    		badj := b - min
    		// propagate carry if necessary
    		for x.Bit(badj) != 0 {
    			x.SetBit(x, badj, 0)
    			badj++
    		}
    		x.SetBit(x, badj, 1)
    	}
    
    	// create corresponding float
    	z := new(Float).SetInt(x) // normalized
    	if e := int64(z.exp) + int64(min); MinExp <= e && e <= MaxExp {
    		z.exp = int32(e)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/runtime/export_windows_test.go

    }
    
    type ContextStub struct {
    	context
    }
    
    func (c ContextStub) GetPC() uintptr {
    	return c.ip()
    }
    
    func NewContextStub() *ContextStub {
    	var ctx context
    	ctx.set_ip(getcallerpc())
    	ctx.set_sp(getcallersp())
    	ctx.set_fp(getcallerfp())
    	return &ContextStub{ctx}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 17:25:00 UTC 2024
    - 759 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/copyelim.go

    	// sure that we don't end up doing O(n^2) work
    	// for a chain of n copies.
    	for v != w {
    		x := v.Args[0]
    		v.SetArg(0, w)
    		v = x
    	}
    	return w
    }
    
    // copyelimValue ensures that no args of v are copies.
    func copyelimValue(v *Value) {
    	for i, a := range v.Args {
    		if a.Op == OpCopy {
    			v.SetArg(i, copySource(a))
    		}
    	}
    }
    
    // phielim eliminates redundant phi values from f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ConfigurableFileTreeCodec.kt

        }
    
        override suspend fun ReadContext.decode(): ConfigurableFileTree {
            val dir = readFile()
            val patterns = read() as PatternSet
            val tree = fileCollectionFactory.fileTree()
            tree.setDir(dir)
            // TODO - read patterns directly into tree
            tree.patterns.copyFrom(patterns)
            return tree
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. cmd/metrics-v3-cluster-erasure-set.go

    	erasureSetWriteTolerance     = "write_tolerance"
    	erasureSetReadHealth         = "read_health"
    	erasureSetWriteHealth        = "write_health"
    )
    
    const (
    	poolIDL = "pool_id"
    	setIDL  = "set_id"
    )
    
    var (
    	erasureSetOverallWriteQuorumMD = NewGaugeMD(erasureSetOverallWriteQuorum,
    		"Overall write quorum across pools and sets")
    	erasureSetOverallHealthMD = NewGaugeMD(erasureSetOverallHealth,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/os/types.go

    	ModeNamedPipe  = fs.ModeNamedPipe  // p: named pipe (FIFO)
    	ModeSocket     = fs.ModeSocket     // S: Unix domain socket
    	ModeSetuid     = fs.ModeSetuid     // u: setuid
    	ModeSetgid     = fs.ModeSetgid     // g: setgid
    	ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set
    	ModeSticky     = fs.ModeSticky     // t: sticky
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. pkg/probe/exec/exec_test.go

    	return nil
    }
    
    func (f *FakeCmd) CombinedOutput() ([]byte, error) {
    	return f.out, f.err
    }
    
    func (f *FakeCmd) Output() ([]byte, error) {
    	return f.stdout, f.err
    }
    
    func (f *FakeCmd) SetDir(dir string) {}
    
    func (f *FakeCmd) SetStdin(in io.Reader) {}
    
    func (f *FakeCmd) SetStdout(out io.Writer) {
    	f.writer = out
    }
    
    func (f *FakeCmd) SetStderr(out io.Writer) {
    	f.writer = out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. pkg/volume/git_repo/git_repo.go

    }
    
    func (b *gitRepoVolumeMounter) execCommand(command string, args []string, dir string) ([]byte, error) {
    	cmd := b.exec.Command(command, args...)
    	cmd.SetDir(dir)
    	return cmd.CombinedOutput()
    }
    
    func validateVolume(src *v1.GitRepoVolumeSource) error {
    	if err := validateNonFlagArgument(src.Repository, "repository"); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. cluster/addons/dns/kube-dns/kube-dns.yaml.base

              mountPath: /etc/k8s/dns/dnsmasq-nanny
            securityContext:
              capabilities:
                drop:
                  - all
                add:
                  - NET_BIND_SERVICE
                  - SETGID
          - name: sidecar
            image: registry.k8s.io/dns/k8s-dns-sidecar:1.23.1
            livenessProbe:
              httpGet:
                path: /metrics
                port: 10054
                scheme: HTTP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top