Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 292 for nuts (0.04 sec)

  1. docs/debugging/hash-set/main.go

    	if cardinality <= 0 {
    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    var (
    	file, object, deploymentID, prefix string
    	setCount, shards                   int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. src/internal/poll/export_test.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Export guts for testing.
    // Since testing imports os and os imports internal/poll,
    // the internal/poll tests can not be in package poll.
    
    package poll
    
    var Consume = consume
    
    type XFDMutex struct {
    	fdMutex
    }
    
    func (mu *XFDMutex) Incref() bool {
    	return mu.incref()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 03:57:40 UTC 2022
    - 714 bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/tests/BUILD

    )
    
    [[
        genrule(
            name = "gen_" + config_file,
            testonly = 1,
            srcs = [template_file],
            outs = [config_file],
            cmd = ("sed " + sed_replace + " " +
                   "$(location " + template_file + ") " +
                   "> $(OUTS)"),
            tags = ["manual"],
        ),
        tf_library(
            name = bench_name,
            testonly = 1,
            config = config_file,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/cmd/internal/archive/testdata/mycgo/c2.c

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <stdio.h>
    
    void c2(void) {
    	puts("c2");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 10 22:16:32 UTC 2020
    - 211 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

    }
    
    def GetTpuHostDeviceOp : TensorflowMlrtTpu_Op<"get_tpu_host_device", [Pure]> {
      let summary = "get the tpu host allocator that implements tensorflow::Device";
    
      let results = (outs
        TFDeviceType:$device
      );
    
      let assemblyFormat = "attr-dict";
    }
    
    def CompileAndExecuteOp : TensorflowMlrtTpu_Op<"compile_and_execute"> {
      let summary = "tpu compile and execute operation";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/runtime/export_arm_test.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Export guts for testing.
    
    package runtime
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 226 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.td

        DefaultValuedOptionalAttr<I64Attr, "-128">:$output_quantization_min_val,
        DefaultValuedOptionalAttr<I64Attr, "127">:$output_quantization_max_val
      );
    
      let results = (outs
        TensorOf<[TF_Qint32]>:$output
      );
    
      TF_DerivedOperandTypeAttr LhsT = TF_DerivedOperandTypeAttr<0>;
      TF_DerivedOperandTypeAttr RhsT = TF_DerivedOperandTypeAttr<1>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/ClasspathElementTransformTest.groovy

            expect:
            with(transformJar(LEGACY, testFile)) {
                assertContainsVersioned(AsmConstants.MAX_SUPPORTED_JAVA_VERSION + 1, "Foo.class")
            }
        }
    
        def "agent instrumentation puts no marker into non-multi-release jar"() {
            given:
            def testFile = jar(testDir.file("thing.jar")) {
                manifest {
                    // No Multi-Release attribute in the manifest.
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/cmd/internal/archive/testdata/mycgo/c1.c

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <stdio.h>
    
    void c1(void) {
    	puts("c1");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 10 22:16:32 UTC 2020
    - 211 bytes
    - Viewed (0)
  10. src/internal/poll/export_windows_test.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Export guts for testing on windows.
    // Since testing imports os and os imports internal/poll,
    // the internal/poll tests can not be in package poll.
    
    package poll
    
    var (
    	LogInitFD = &logInitFD
    )
    
    func (fd *FD) IsPartOfNetpoll() bool {
    	return fd.pd.runtimeCtx != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 04:10:13 UTC 2017
    - 431 bytes
    - Viewed (0)
Back to top