Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for Gcd (0.04 sec)

  1. src/slices/zsortordered.go

    // The algorithm needs O((M+N)*log(M)) calls to data.Swap.
    //
    // The paper gives O((M+N)*log(M)) as the number of assignments assuming a
    // rotation algorithm which uses O(M+N+gcd(M+N)) assignments. The argumentation
    // in the paper carries through for Swap operations, especially as the block
    // swapping rotate uses only O(M+N) Swaps.
    //
    // symMerge assumes non-degenerate arguments: a < m && m < b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/slices/zsortanyfunc.go

    // The algorithm needs O((M+N)*log(M)) calls to data.Swap.
    //
    // The paper gives O((M+N)*log(M)) as the number of assignments assuming a
    // rotation algorithm which uses O(M+N+gcd(M+N)) assignments. The argumentation
    // in the paper carries through for Swap operations, especially as the block
    // swapping rotate uses only O(M+N) Swaps.
    //
    // symMerge assumes non-degenerate arguments: a < m && m < b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  3. src/sort/gen_sort_variants.go

    // The algorithm needs O((M+N)*log(M)) calls to data.Swap.
    //
    // The paper gives O((M+N)*log(M)) as the number of assignments assuming a
    // rotation algorithm which uses O(M+N+gcd(M+N)) assignments. The argumentation
    // in the paper carries through for Swap operations, especially as the block
    // swapping rotate uses only O(M+N) Swaps.
    //
    // symMerge assumes non-degenerate arguments: a < m && m < b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              align_corners ? output_spatial - 1 : output_spatial;
    
          int64_t gcd =
              tensorflow::MathUtil::GCD(static_cast<uint64_t>(input_spatial_size),
                                        static_cast<uint64_t>(output_spatial_size));
          if ((input_spatial_size % gcd != 0) ||
              (input_spatial_size / gcd != stride) || (dilation - 1 != padding)) {
            return false;
          }
    
          return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. src/runtime/map_test.go

    				delete(m, i)
    			}
    			growflag = false
    		} else {
    			if k&1 == 1 {
    				t.Error("odd value returned")
    			}
    		}
    	}
    }
    
    // make sure old bucket arrays don't get GCd while
    // an iterator is still using them.
    func TestIterGrowWithGC(t *testing.T) {
    	m := make(map[int]int, 4)
    	for i := 0; i < 8; i++ {
    		m[i] = i
    	}
    	for i := 8; i < 16; i++ {
    		m[i] += i
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. src/runtime/proc.go

    	count uint32
    	pos   uint32
    	inc   uint32
    }
    
    func (ord *randomOrder) reset(count uint32) {
    	ord.count = count
    	ord.coprimes = ord.coprimes[:0]
    	for i := uint32(1); i <= count; i++ {
    		if gcd(i, count) == 1 {
    			ord.coprimes = append(ord.coprimes, i)
    		}
    	}
    }
    
    func (ord *randomOrder) start(i uint32) randomEnum {
    	return randomEnum{
    		count: ord.count,
    		pos:   i % ord.count,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Int).Div", Method, 0},
    		{"(*Int).DivMod", Method, 0},
    		{"(*Int).Exp", Method, 0},
    		{"(*Int).FillBytes", Method, 15},
    		{"(*Int).Float64", Method, 21},
    		{"(*Int).Format", Method, 0},
    		{"(*Int).GCD", Method, 0},
    		{"(*Int).GobDecode", Method, 0},
    		{"(*Int).GobEncode", Method, 0},
    		{"(*Int).Int64", Method, 0},
    		{"(*Int).IsInt64", Method, 9},
    		{"(*Int).IsUint64", Method, 9},
    		{"(*Int).Lsh", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg math/big, method (*Int) DivMod(*Int, *Int, *Int) (*Int, *Int)
    pkg math/big, method (*Int) Exp(*Int, *Int, *Int) *Int
    pkg math/big, method (*Int) Format(fmt.State, int32)
    pkg math/big, method (*Int) GCD(*Int, *Int, *Int, *Int) *Int
    pkg math/big, method (*Int) GobDecode([]uint8) error
    pkg math/big, method (*Int) GobEncode() ([]uint8, error)
    pkg math/big, method (*Int) Int64() int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top