Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for putNat (0.14 sec)

  1. src/math/big/nat.go

    			}
    
    			zz = zz.mul(z, *powers[yi>>(_W-n)])
    			zz, z = z, zz
    			z = z.trunc(z, logM)
    
    			yi <<= n
    			advance = true
    		}
    	}
    
    	*zzp = zz
    	putNat(zzp)
    	for i := range powers {
    		putNat(powers[i])
    	}
    
    	return z.norm()
    }
    
    // expNNMontgomery calculates x**y mod m using a fixed, 4-bit window.
    // Uses Montgomery representation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. src/math/big/natdiv.go

    	tmp := getNat(3 * len(v))
    	temps := make([]*nat, recDepth)
    
    	clear(z)
    	z.divRecursiveStep(u, v, 0, tmp, temps)
    
    	// Free temporaries.
    	for _, n := range temps {
    		if n != nil {
    			putNat(n)
    		}
    	}
    	putNat(tmp)
    }
    
    // divRecursiveStep is the actual implementation of recursive division.
    // It adds ⌊u/v⌋ to z and overwrites u with the remainder r.
    // z must be large enough to hold ⌊u/v⌋.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HasherExtensions.java

            hasher.putInt(array.length);
            for (double d : array) {
                hasher.putDouble(d);
            }
        }
    
        public static void putFloats(Hasher hasher, float[] array) {
            hasher.putInt(array.length);
            for (float f : array) {
                hasher.putInt(Float.floatToRawIntBits(f));
            }
        }
    
        public static void putLongs(Hasher hasher, long[] array) {
            hasher.putInt(array.length);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

            public void putHash(HashCode hashCode) {
                hasher.putInt(hashCode.length());
                hasher.putHash(hashCode);
            }
    
            @Override
            public void putInt(int value) {
                hasher.putInt(4);
                hasher.putInt(value);
            }
    
            @Override
            public void putLong(long value) {
                hasher.putInt(8);
                hasher.putLong(value);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapPropertyExtensions.java

         *
         * @param self the {@link MapProperty}
         * @param key the key
         * @param value the value or a {@link Provider} of the value
         */
        @SuppressWarnings("unchecked")
        public static <K, V> void putAt(MapProperty<K, V> self, K key, Object value) {
            if (value instanceof Provider<?>) {
                self.put(key, (Provider) value);
            } else {
                self.put(key, (V) value);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy

            hasher.putInt(1)
            hasher.hash()
    
            when:
            hasher.hash()
    
            then:
            thrown(IllegalStateException)
        }
    
        def 'hashers can overlap'() {
            when:
            def hasher1 = Hashing.newHasher()
            hasher1.putInt(1)
    
            and:
            def hasher2 = Hashing.newHasher()
            hasher2.putInt(1)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/descriptor/UrlRepositoryDescriptor.java

                cacheHasher.putString(implementation.getName());
                cacheHasher.putInt(metadataResources.size());
                for (ResourcePattern ivyPattern : metadataResources) {
                    cacheHasher.putString(ivyPattern.getPattern());
                }
                cacheHasher.putInt(artifactResources.size());
                for (ResourcePattern artifactPattern : artifactResources) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishConsoleIntegrationTest.groovy

            def build = executer.withTasks("publish").withArguments("--max-workers=2").start()
            putJar.waitForAllPendingCalls()
    
            then:
            ConcurrentTestUtil.poll {
                RichConsoleStyling.assertHasWorkInProgress(build, "> :publishMavenPublicationToMavenRepository > test-1.2.jar")
            }
    
            when:
            putJar.releaseAll()
            putJarSha.waitForAllPendingCalls()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

        return delegate().remainingCapacity();
      }
    
      @Override
      public void putFirst(E e) throws InterruptedException {
        delegate().putFirst(e);
      }
    
      @Override
      public void putLast(E e) throws InterruptedException {
        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/internal/dwarf/putvarabbrevgen_test.go

    	flag.Parse()
    	os.Exit(m.Run())
    
    }
    
    // TestPutVarAbbrevGenerator checks that putvarabbrevgen.go is kept in sync
    // with the contents of functions putvar and putAbstractVar. If test flag -generate
    // is specified the file is regenerated instead.
    //
    // The block of code in putvar and putAbstractVar that picks the correct
    // abbrev is also generated automatically by this function by looking at all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top