Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 318 for nums (0.17 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetector.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.compile.processing;
    
    import com.google.common.base.Charsets;
    import com.google.common.base.Enums;
    import com.google.common.base.Splitter;
    import com.google.common.collect.ImmutableList;
    import com.google.common.io.CharStreams;
    import com.google.common.io.Files;
    import com.google.common.io.LineProcessor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprogcgo/cgonoescape.go

    	for i := 0; i < num; i++ {
    		withNoEscape()
    	}
    
    	runtime.ReadMemStats(&stats)
    	nowHeapObjects := stats.HeapObjects
    
    	if nowHeapObjects-preHeapObjects >= num {
    		fmt.Printf("too many heap objects allocated, pre: %v, now: %v\n", preHeapObjects, nowHeapObjects)
    	}
    
    	runtime.ReadMemStats(&stats)
    	preHeapObjects = stats.HeapObjects
    
    	for i := 0; i < num; i++ {
    		withoutNoEscape()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 16:43:23 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. test/chan/powser1.go

    func add(u, v rat) rat {
    	g := gcd(u.den, v.den)
    	return i2tor(u.num*(v.den/g)+v.num*(u.den/g), u.den*(v.den/g))
    }
    
    func mul(u, v rat) rat {
    	g1 := gcd(u.num, v.den)
    	g2 := gcd(u.den, v.num)
    	var r rat
    	r.num = (u.num / g1) * (v.num / g2)
    	r.den = (u.den / g2) * (v.den / g1)
    	return r
    }
    
    func neg(u rat) rat {
    	return i2tor(-u.num, u.den)
    }
    
    func sub(u, v rat) rat {
    	return add(u, neg(v))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 12.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy

            addToCollection([], true, [1, 2, null, 3])
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message.contains([1, 2, null, 3].toString())
        }
    
        def "can convert strings to enums using the enum value names"() {
            expect:
            TestEnum.ENUM1 == toEnum(TestEnum, "ENUM1")
            TestEnum.ENUM1 == toEnum(TestEnum, "enum1")
            TestEnum.ENUM1 == toEnum(TestEnum, "EnUm1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessConcurrencyTest.groovy

            }
    
            allowFileSystemAccess(true)
            read(dir)
            def executorService = Executors.newFixedThreadPool(100)
    
            when:
            (1..1000).each { num ->
                executorService.submit({
                    def locationToUpdate = dir.file(num).file("in-dir.txt")
                    fileSystemAccess.write([locationToUpdate.absolutePath]) {
                        locationToUpdate.text = "updated"
                    }
                })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/c/env.h

      size_t stack_size;
    
      // Guard area size to use near thread stacks to use (in bytes), zero implies
      // that the system default will be used.
      size_t guard_size;
    
      // The NUMA node to use, -1 implies that there should be no NUMA affinity for
      // this thread.
      int numa_node;
    } TF_ThreadOptions;
    
    // Creates the specified directory. Typical status code are:
    //  * TF_OK - successfully created the directory
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/fetch.go

    // WriteGoSum writes the go.sum file if it needs to be updated.
    //
    // keep is used to check whether a newly added sum should be saved in go.sum.
    // It should have entries for both module content sums and go.mod sums
    // (version ends with "/go.mod"). Existing sums will be preserved unless they
    // have been marked for deletion with TrimGoSum.
    func WriteGoSum(ctx context.Context, keep map[module.Version]bool, readonly bool) error {
    	goSum.mu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. src/math/big/rat_test.go

    				b := 1<<wid + a
    				if sign == '-' {
    					b = -b
    				}
    				for exp := -150; exp < 150; exp += einc {
    					num, den := NewInt(b), NewInt(1)
    					if exp > 0 {
    						num.Lsh(num, uint(exp))
    					} else {
    						den.Lsh(den, uint(-exp))
    					}
    					r := new(Rat).SetFrac(num, den)
    					f, _ := r.Float32()
    
    					if !checkIsBestApprox32(t, f, r) {
    						// Append context information.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 07 00:15:59 UTC 2022
    - 18.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

        protected static final int NUM = 20;
    
        private AccessTokenHelper accessTokenHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            accessTokenHelper = new AccessTokenHelper();
        }
    
        public void test_generateAccessToken() {
            List<String> tokens = new ArrayList<String>();
            for (int i = 0; i < NUM; i++) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/CrudTestBase.java

        }
    
        protected void testRead() {
            // Test: get settings api.
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            List<String> nameList = getPropList(searchBody, getKeyProperty());
    
            assertEquals(NUM, nameList.size());
            for (int i = 0; i < NUM; i++) {
                final String name = getNamePrefix() + i;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top