Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,026 for paib (0.04 sec)

  1. test/fixedbugs/issue4353.go

    // Issue 4353. An optimizer bug in 8g triggers a runtime fault
    // instead of an out of bounds panic.
    
    package main
    
    var aib [100000]int
    var paib *[100000]int = &aib
    var i64 int64 = 100023
    
    func main() {
    	defer func() { recover() }()
    	_ = paib[i64]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 418 bytes
    - Viewed (0)
  2. test/index.go

    	sib []int
    	aib [100000]int
    	paib *[100000]int
    	sqb []quad
    	aqb [100000]quad
    	paqb *[100000]quad
    }
    
    var t = T{si, ai, pai, sq, aq, paq, sib, aib, paib, sqb, aqb, paqb}
    
    var pt = &T{si, ai, pai, sq, aq, paq, sib, aib, paib, sqb, aqb, paqb}
    
    // test that f panics
    func test(f func(), s string) {
    	defer func() {
    		if err := recover(); err == nil {
    			_, file, line, _ := runtime.Caller(2)
    			bug()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 6.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Pair.java

            return right;
        }
    
        public static <L, R> Pair<L, R> of(@Nullable L left, @Nullable R right) {
            return new Pair<L, R>(left, right);
        }
    
        public <T> Pair<T, Pair<L, R>> pushLeft(T t) {
            return of(t, this);
        }
    
        public <T> Pair<Pair<L, R>, T> pushRight(T t) {
            return of(this, t);
        }
    
        public <T> Pair<Pair<T, L>, R> nestLeft(T t) {
            return of(of(t, left), right);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Pair.java

         */
        public static <T1, T2> Pair<T1, T2> pair(final T1 first, final T2 second) {
            return new Pair<>(first, second);
        }
    
        /**
         * インスタンスを構築します。
         */
        public Pair() {
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param first
         *            1番目の値
         * @param second
         *            2番目の値
         */
        public Pair(final T1 first, final T2 second) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. test/typeparam/pair.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"unsafe"
    )
    
    type pair[F1, F2 any] struct {
    	f1 F1
    	f2 F2
    }
    
    func main() {
    	p := pair[int32, int64]{1, 2}
    	if got, want := unsafe.Sizeof(p.f1), uintptr(4); got != want {
    		panic(fmt.Sprintf("unexpected f1 size == %d, want %d", got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 739 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

            final Map<String, Pair<Map<String, String>, List<Pair<Pattern, String>>>> relatedContentMap = new HashMap<>();
            getAvailableRelatedContentList().stream().forEach(entity -> {
                final String key = getHostKey(entity);
                Pair<Map<String, String>, List<Pair<Pattern, String>>> pair = relatedContentMap.get(key);
                if (pair == null) {
                    pair = new Pair<>(new HashMap<>(), new ArrayList<>());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. test/escape_param.go

    	box.pair.p1 = box.pair.p2 // ERROR "ignoring self-assignment in box.pair.p1 = box.pair.p2"
    	sink = box.pair
    }
    
    func sinkAfterSelfAssignment3(box *BoxedPair) { // ERROR "leaking param content: box"
    	box.pair.p1 = box.pair.p2 // ERROR "ignoring self-assignment in box.pair.p1 = box.pair.p2"
    	leakParam(box.pair.p2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:32 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/resource_operation_safety_analysis_test.cc

      root.graph()->AddControlEdge(modify, read);
    
      std::vector<std::pair<int, int>> incompatible_pairs;
      TF_ASSERT_OK(ComputeIncompatiblePairs(root.graph(), &incompatible_pairs));
    
      ASSERT_EQ(incompatible_pairs.size(), 3);
    
      std::pair<int, int> write_modify_pair = {write->id(), modify->id()};
      std::pair<int, int> modify_read_pair = {modify->id(), read->id()};
      std::pair<int, int> write_read_pair = {write->id(), read->id()};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 28 16:53:59 UTC 2020
    - 18.7K bytes
    - Viewed (0)
  9. tensorflow/cc/saved_model/util_test.cc

      local_request.erase("y");
    
      std::vector<std::pair<string, Tensor>> inputs;
      TF_EXPECT_OK(GetInputValues(sig_, local_request, inputs));
    
      std::vector<std::pair<string, TensorProto>> exp_inputs;
      ConvertOutputTensorToProto(inputs, exp_inputs);
    
      EXPECT_THAT(exp_inputs,
                  UnorderedElementsAre(Pair("feed_x", EqualsProto(input_x_)),
                                       Pair("feed_y", EqualsProto(default_y_))));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. src/cmd/api/testdata/src/pkg/p4/p4.go

    // license that can be found in the LICENSE file.
    
    package p4
    
    type Pair[T1 interface{ M() }, T2 ~int] struct {
    	f1 T1
    	f2 T2
    }
    
    func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] {
    	return Pair[T1, T2]{f1: v1, f2: v2}
    }
    
    func (p Pair[X1, _]) First() X1 {
    	return p.f1
    }
    
    func (p Pair[_, X2]) Second() X2 {
    	return p.f2
    }
    
    // Deprecated: Use something else.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 552 bytes
    - Viewed (0)
Back to top