Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for dumpint (0.1 sec)

  1. misc/cgo/gmp/pi.go

    	accum = big.NewInt(0)
    	denom = big.NewInt(1)
    	ten   = big.NewInt(10)
    )
    
    func extractDigit() int64 {
    	if big.CmpInt(numer, accum) > 0 {
    		return -1
    	}
    	tmp1.Lsh(numer, 1).Add(tmp1, numer).Add(tmp1, accum)
    	big.DivModInt(tmp1, tmp2, tmp1, denom)
    	tmp2.Add(tmp2, numer)
    	if big.CmpInt(tmp2, denom) >= 0 {
    		return -1
    	}
    	return tmp1.Int64()
    }
    
    func nextTerm(k int64) {
    	y2 := k*2 + 1
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. ci/official/utilities/setup.sh

      source ./ci/official/utilities/setup_macos.sh
    fi
    
    # Create and expand to the full path of TFCI_OUTPUT_DIR
    export TFCI_OUTPUT_DIR=$(realpath "$TFCI_OUTPUT_DIR")
    mkdir -p "$TFCI_OUTPUT_DIR"
    
    # In addition to dumping all script output to the terminal, place it into
    # $TFCI_OUTPUT_DIR/script.log
    exec > >(tee "$TFCI_OUTPUT_DIR/script.log") 2>&1
    
    # Setup tfrun, a helper function for executing steps that can either be run
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. docs/debugging/inspect/main.go

    		os.Exit(1)
    	}
    
    	// dump public key to file
    	publicKeyBytes := x509.MarshalPKCS1PublicKey(&privatekey.PublicKey)
    	if err != nil {
    		fmt.Printf("error when dumping publickey: %s n", err)
    		os.Exit(1)
    	}
    	publicKeyBlock := &pem.Block{
    		Type:  "PUBLIC KEY",
    		Bytes: publicKeyBytes,
    	}
    	publicPem, err := os.Create("support_public.pem")
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs/debugging/inspect/export.go

    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    	// if any change is made to the data stored, bumping this
    	// will allow to detect the exact version later.
    	xlVersionMinor = 1
    )
    
    func init() {
    	binary.LittleEndian.PutUint16(xlVersionCurrent[0:2], xlVersionMajor)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  5. cmd/utils_test.go

    			t.Errorf("Test %d: expected to pass but got an error: %v\n", i+1, err)
    		}
    		if !testCase.shouldPass && err == nil {
    			t.Errorf("Test %d: expected to fail but passed.", i+1)
    		}
    	}
    }
    
    // Testing dumping request function.
    func TestDumpRequest(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. misc/cgo/gmp/gmp.go

    	x.doinit()
    	z.doinit()
    	C.mpz_abs(&z.i[0], &x.i[0])
    	return z
    }
    
    /*
     * functions without a clear receiver
     */
    
    // CmpInt compares x and y. The result is
    //
    //	-1 if x <  y
    //	 0 if x == y
    //	+1 if x >  y
    func CmpInt(x, y *Int) int {
    	x.doinit()
    	y.doinit()
    	switch cmp := C.mpz_cmp(&x.i[0], &y.i[0]); {
    	case cmp < 0:
    		return -1
    	case cmp == 0:
    		return 0
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  7. internal/grid/manager.go

    	"github.com/google/uuid"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/mux"
    )
    
    const (
    	// apiVersion is a major version of the entire api.
    	// Bumping this should only be done when overall,
    	// incompatible changes are made, not when adding a new handler
    	// or changing an existing handler.
    	apiVersion = "v1"
    
    	// RoutePath is the remote path to connect to.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    	// if any change is made to the data stored, bumping this
    	// will allow to detect the exact version later.
    	xlVersionMinor = 1
    )
    
    func init() {
    	binary.LittleEndian.PutUint16(xlVersionCurrent[0:2], xlVersionMajor)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

        if (iterable instanceof Collection) {
          Collection<E> collection = (Collection<E>) iterable;
          if (collection.size() <= 2L * k) {
            // In this case, just dumping the collection to an array and sorting is
            // faster than using the implementation for Iterator, which is
            // specialized for k much smaller than n.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    	// if any change is made to the data stored, bumping this
    	// will allow to detect the exact version later.
    	xlVersionMinor = 3
    )
    
    func init() {
    	binary.LittleEndian.PutUint16(xlVersionCurrent[0:2], xlVersionMajor)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
Back to top