Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for nmPath (0.15 sec)

  1. src/cmd/go/internal/modget/get.go

    func (r *resolver) initialSelected(mPath string) (version string) {
    	v, ok := r.initialVersion[mPath]
    	if !ok {
    		return "none"
    	}
    	return v
    }
    
    // selected returns the version of the module with the given path that is
    // selected in the resolver's current build list.
    func (r *resolver) selected(mPath string) (version string) {
    	v, ok := r.buildListVersion[mPath]
    	if !ok {
    		return "none"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    		// Check the list is in dependency order.
    		tg.run("list", "-deps", "math")
    		want := "unsafe\ninternal/cpu\nmath/bits\nmath\n"
    		out := tg.stdout.String()
    		if !strings.Contains(out, "internal/cpu") {
    			// Some systems don't use internal/cpu.
    			want = "unsafe\nmath/bits\nmath\n"
    		}
    		if tg.stdout.String() != want {
    			t.Fatalf("list -deps math: wrong order\nhave %q\nwant %q", tg.stdout.String(), want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"encoding/binary"
    	"fmt"
    	"internal/buildcfg"
    	"io"
    	"math"
    	"math/bits"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    type deadValueChoice bool
    
    const (
    	leaveDeadValues  deadValueChoice = false
    	removeDeadValues                 = true
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/math/big/int_test.go

    			"511852109168640000000000000000000000", // -99!
    	},
    
    	// overflow situations
    	{math.MaxInt64 - 0, math.MaxInt64, "9223372036854775807"},
    	{math.MaxInt64 - 1, math.MaxInt64, "85070591730234615838173535747377725442"},
    	{math.MaxInt64 - 2, math.MaxInt64, "784637716923335094969050127519550606919189611815754530810"},
    	{math.MaxInt64 - 3, math.MaxInt64, "7237005577332262206126809393809643289012107973151163787181513908099760521240"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package resource
    
    import (
    	"encoding/json"
    	"fmt"
    	"math"
    	"math/big"
    	"math/rand"
    	"os"
    	"strings"
    	"testing"
    	"unicode"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    	"github.com/spf13/pflag"
    	inf "gopkg.in/inf.v0"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. src/time/time_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package time_test
    
    import (
    	"bytes"
    	"encoding/gob"
    	"encoding/json"
    	"fmt"
    	"math"
    	"math/big"
    	"math/rand"
    	"os"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"testing/quick"
    	. "time"
    )
    
    // We should be in PST/PDT, but if the time zone files are missing we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/horizontal.go

    		return currentReplicas // Scaling is disabled
    	} else if *scalingRules.SelectPolicy == autoscalingv2.MinChangePolicySelect {
    		result = math.MaxInt32
    		selectPolicyFn = min // For scaling up, the lowest change ('min' policy) produces a minimum value
    	} else {
    		result = math.MinInt32
    		selectPolicyFn = max // Use the default policy otherwise to produce a highest possible change
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Constant folding
    (FABS (FMOVDconst [x])) => (FMOVDconst [math.Abs(x)])
    (FSQRT (FMOVDconst [x])) && x >= 0 => (FMOVDconst [math.Sqrt(x)])
    (FFLOOR (FMOVDconst [x])) => (FMOVDconst [math.Floor(x)])
    (FCEIL (FMOVDconst [x])) => (FMOVDconst [math.Ceil(x)])
    (FTRUNC (FMOVDconst [x])) => (FMOVDconst [math.Trunc(x)])
    
    // Rotates
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	// Creates compound/prefix transformers with different ordering of available transformers.
    	// Transforms data using one of them, and tries to untransform using the others.
    	// Repeats this for all possible combinations.
    	// Math for GracePeriod is explained at - https://github.com/kubernetes/kubernetes/blob/c9ed04762f94a319d7b1fb718dc345491a32bea6/staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go#L159-L163
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    // would exceed math.MaxUint, in which case math.MaxUint is returned.
    func multiplyWithOverflowGuard(baseCost, cardinality uint64) uint64 {
    	if baseCost == 0 {
    		// an empty rule can return 0, so guard for that here
    		return 0
    	} else if math.MaxUint/baseCost < cardinality {
    		return math.MaxUint
    	}
    	return baseCost * cardinality
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top