Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 546 for putint (0.15 sec)

  1. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HasherExtensions.java

            }
        }
    
        public static void putInts(Hasher hasher, int[] array) {
            hasher.putInt(array.length);
            for (int i : array) {
                hasher.putInt(i);
            }
        }
    
        public static void putShorts(Hasher hasher, short[] array) {
            hasher.putInt(array.length);
            for (short s : array) {
                hasher.putInt(s);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. test/fixedbugs/bug022.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func putint(digits *string) {
    	var i byte;
    	i = (*digits)[7];  // compiles
    	i = digits[7];  // ERROR "illegal|is not|invalid"
    	_ = i;
    }
    
    func main() {
    	s := "asdfasdfasdfasdf";
    	putint(&s);
    }
    
    /*
    bug022.go:8: illegal types for operand
    	(*<string>*STRING) INDEXPTR (<int32>INT32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 529 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava/src/com/google/common/hash/Hasher.java

      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putShort(short s);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putInt(int i);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putLong(long l);
    
      /** Equivalent to {@code putInt(Float.floatToRawIntBits(f))}. */
      @CanIgnoreReturnValue
      @Override
      Hasher putFloat(float f);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hasher.java

      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putShort(short s);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putInt(int i);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putLong(long l);
    
      /** Equivalent to {@code putInt(Float.floatToRawIntBits(f))}. */
      @CanIgnoreReturnValue
      @Override
      Hasher putFloat(float f);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

            for (Hasher hasher : hashers) {
              hasher.putShort(s);
            }
            return this;
          }
    
          @Override
          public Hasher putInt(int i) {
            for (Hasher hasher : hashers) {
              hasher.putInt(i);
            }
            return this;
          }
    
          @Override
          public Hasher putLong(long l) {
            for (Hasher hasher : hashers) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractHasher.java

      @CanIgnoreReturnValue
      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putFloat(float f) {
        return putInt(Float.floatToRawIntBits(f));
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putUnencodedChars(CharSequence charSequence) {
        for (int i = 0, len = charSequence.length(); i < len; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. test/fixedbugs/bug020.go

    // compile
    
    // Copyright 2009 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.
    
    package main
    
    var digits string;
    
    func putint(buf []byte, i, base, val int, digits string) {
    		buf[i] = digits[val];
    }
    
    func main() {
    }
    
    /*
    uetli:~/Source/go1/test gri$ 6g bugs/bug020.go
    bugs/bug020.go:7: type of a structure field cannot be an open array
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 486 bytes
    - Viewed (0)
Back to top