Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 263 for recursion (0.27 sec)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        static final NonPublicConstantIgnored INSTANCE = new NonPublicConstantIgnored();
    
        private NonPublicConstantIgnored() {}
      }
    
      public static class NonStaticFieldIgnored {
        // This should cause infinite recursion. But it shouldn't be used anyway.
        public final NonStaticFieldIgnored instance = new NonStaticFieldIgnored();
    
        private NonStaticFieldIgnored() {}
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  2. src/fmt/print.go

    	reordered bool
    	// goodArgNum records whether the most recent reordering directive was valid.
    	goodArgNum bool
    	// panicking is set by catchPanic to avoid infinite panic, recover, panic, ... recursion.
    	panicking bool
    	// erroring is set when printing an error string to guard against calling handleMethods.
    	erroring bool
    	// wrapErrs is set when the format string may contain a %w verb.
    	wrapErrs bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. src/math/big/nat_test.go

    	t := stats.TotalAlloc
    	f()
    	runtime.ReadMemStats(&stats)
    	return stats.TotalAlloc - t
    }
    
    // TestMulUnbalanced tests that multiplying numbers of different lengths
    // does not cause deep recursion and in turn allocate too much memory.
    // Test case for issue 3807.
    func TestMulUnbalanced(t *testing.T) {
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1))
    	x := rndNat(50000)
    	y := rndNat(40)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

        return TypeParameterizedTest<Fixture, TestSel, typename Types::Tail>
            ::Register(prefix, case_name, test_names, index + 1);
      }
    };
    
    // The base case for the compile time recursion.
    template <GTEST_TEMPLATE_ Fixture, class TestSel>
    class TypeParameterizedTest<Fixture, TestSel, Types0> {
     public:
      static bool Register(const char* /*prefix*/, const char* /*case_name*/,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

        return TypeParameterizedTest<Fixture, TestSel, typename Types::Tail>
            ::Register(prefix, case_name, test_names, index + 1);
      }
    };
    
    // The base case for the compile time recursion.
    template <GTEST_TEMPLATE_ Fixture, class TestSel>
    class TypeParameterizedTest<Fixture, TestSel, Types0> {
     public:
      static bool Register(const char* /*prefix*/, const char* /*case_name*/,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  6. pkg/model/proxy.go

    		return (*meshconfig.ProxyConfig)(m.ProxyConfig)
    	}
    	return def
    }
    
    func (m *BootstrapNodeMetadata) UnmarshalJSON(data []byte) error {
    	// Create a new type from the target type to avoid recursion.
    	type BootstrapNodeMetadata2 BootstrapNodeMetadata
    
    	t2 := &BootstrapNodeMetadata2{}
    	if err := json.Unmarshal(data, t2); err != nil {
    		return err
    	}
    	var raw map[string]any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

        func.return %0 : tensor<0xf32>
      }
    }
    
    // -----
    
    // Test immutable detection propagates across function calls, with recursion.
    
    module {
      // CHECK-LABEL: @f()
      func.func @f() -> tensor<0xf32> {
        // CHECK-NOT: "tf.VarHandleOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  8. src/path/filepath/path_windows_test.go

    		} else if got != want {
    			t.Errorf("toNorm(%s) returns %s, but %s expected (wd=%s)\n", arg, got, want, wd)
    		}
    	}
    }
    
    func TestUNC(t *testing.T) {
    	// Test that this doesn't go into an infinite recursion.
    	// See golang.org/issue/15879.
    	defer debug.SetMaxStack(debug.SetMaxStack(1e6))
    	filepath.Glob(`\\?\c:\*`)
    }
    
    func testWalkMklink(t *testing.T, linktype string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/net/dnsclient_unix.go

    				continue
    			}
    
    			// Presotto says it's okay to assume that servers listed in
    			// /etc/resolv.conf are recursive resolvers.
    			//
    			// We asked for recursion, so it should have included all the
    			// answers we need in this one packet.
    			//
    			// Further, RFC 1034 section 4.3.1 says that "the recursive
    			// response to a query will be... The answer to the query,
    			// possibly preface by one or more CNAME RRs that specify
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    func componentsOfType(arch *asmArch, t types.Type) []component {
    	return appendComponentsRecursive(arch, t, nil, "", 0)
    }
    
    // appendComponentsRecursive implements componentsOfType.
    // Recursion is required to correct handle structs and arrays,
    // which can contain arbitrary other types.
    func appendComponentsRecursive(arch *asmArch, t types.Type, cc []component, suffix string, off int) []component {
    	s := t.String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top