Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for elfhash (0.27 sec)

  1. src/cmd/link/internal/ld/elf.go

    }
    
    func elfwritehdr(out *OutBuf) uint32 {
    	if elf64 {
    		return elf64writehdr(out)
    	}
    	return elf32writehdr(out)
    }
    
    /* Taken directly from the definition document for ELF64. */
    func elfhash(name string) uint32 {
    	var h uint32
    	for i := 0; i < len(name); i++ {
    		h = (h << 4) + uint32(name[i])
    		if g := h & 0xf0000000; g != 0 {
    			h ^= g >> 24
    		}
    		h &= 0x0fffffff
    	}
    	return h
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/crypto/rsa/rsa.go

    // crypto.Decrypter interface.
    type OAEPOptions struct {
    	// Hash is the hash function that will be used when generating the mask.
    	Hash crypto.Hash
    
    	// MGFHash is the hash function used for MGF1.
    	// If zero, Hash is used instead.
    	MGFHash crypto.Hash
    
    	// Label is an arbitrary byte string that must be equal to the value
    	// used when encrypting.
    	Label []byte
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocWorkAvoidanceIntegrationTest.groovy

            def oldHash = bJar.md5Hash
            when:
            // Timestamps in the jar have a 2-second precision, so we need to see a different jar before continuing
            ConcurrentTestUtil.poll(6) {
                // cleaning b and rebuilding will cause b.jar to be different
                succeeds(":b:clean")
                succeeds(":a:javadoc")
                assert oldHash != bJar.md5Hash
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/rsa.go

    }
    
    func DecryptRSAOAEP(h, mgfHash hash.Hash, priv *PrivateKeyRSA, ciphertext, label []byte) ([]byte, error) {
    	return cryptRSA(priv.withKey, C.GO_RSA_PKCS1_OAEP_PADDING, h, mgfHash, label, 0, 0, decryptInit, decrypt, ciphertext)
    }
    
    func EncryptRSAOAEP(h, mgfHash hash.Hash, pub *PublicKeyRSA, msg, label []byte) ([]byte, error) {
    	return cryptRSA(pub.withKey, C.GO_RSA_PKCS1_OAEP_PADDING, h, mgfHash, label, 0, 0, encryptInit, encrypt, msg)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. src/crypto/internal/boring/notboring.go

    }
    func VerifyECDSA(pub *PublicKeyECDSA, hash []byte, sig []byte) bool {
    	panic("boringcrypto: not available")
    }
    
    type PublicKeyRSA struct{ _ int }
    type PrivateKeyRSA struct{ _ int }
    
    func DecryptRSAOAEP(h, mgfHash hash.Hash, priv *PrivateKeyRSA, ciphertext, label []byte) ([]byte, error) {
    	panic("boringcrypto: not available")
    }
    func DecryptRSAPKCS1(priv *PrivateKeyRSA, ciphertext []byte) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/internal/concurrent/hashtriemap.go

    func (ht *HashTrieMap[K, V]) expand(oldEntry, newEntry *entry[K, V], newHash uintptr, hashShift uint, parent *indirect[K, V]) *node[K, V] {
    	// Check for a hash collision.
    	oldHash := ht.keyHash(unsafe.Pointer(&oldEntry.key), ht.seed)
    	if oldHash == newHash {
    		// Store the old entry in the new entry's overflow list, then store
    		// the new entry.
    		newEntry.overflow.Store(oldEntry)
    		return &newEntry.node
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    			if err != nil {
    				t.Fatalf("couldn't read temp file: %v", err)
    			}
    
    			if (oldHash != newHash) != rt.manifestShouldChange {
    				t.Errorf(
    					"failed StaticPodControlPlane\n%s\n\texpected manifest change: %t\n\tgot: %t\n\tnewHash: %v",
    					rt.description,
    					rt.manifestShouldChange,
    					(oldHash != newHash),
    					newHash,
    				)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/route/route.go

    			break
    		}
    	}
    
    	switch {
    	case subsetPLSHash != nil:
    		consistentHash = subsetPLSHash
    	case subsetHash != nil:
    		consistentHash = subsetHash
    	case plsHash != nil:
    		consistentHash = plsHash
    	}
    	return consistentHash, mergedDR
    }
    
    // SortVHostRoutes moves the catch all routes alone to the end, while retaining
    // the relative order of other routes in the slice.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSet.java

            }
          }
          return insertInHashTable(e);
        }
    
        private SetBuilderImpl<E> insertInHashTable(E e) {
          requireNonNull(hashTable);
          int eHash = e.hashCode();
          int i0 = Hashing.smear(eHash);
          int mask = hashTable.length - 1;
          for (int i = i0; i - i0 < maxRunBeforeFallback; i++) {
            int index = i & mask;
            Object tableEntry = hashTable[index];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. src/cmd/internal/goobj/objfile.go

    )
    
    // Blocks
    const (
    	BlkAutolib = iota
    	BlkPkgIdx
    	BlkFile
    	BlkSymdef
    	BlkHashed64def
    	BlkHasheddef
    	BlkNonpkgdef
    	BlkNonpkgref
    	BlkRefFlags
    	BlkHash64
    	BlkHash
    	BlkRelocIdx
    	BlkAuxIdx
    	BlkDataIdx
    	BlkReloc
    	BlkAux
    	BlkData
    	BlkRefName
    	BlkEnd
    	NBlk
    )
    
    // File header.
    // TODO: probably no need to export this.
    type Header struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top