- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for setSeed (0.13 sec)
-
src/hash/maphash/maphash.go
// // Each Seed value is local to a single process and cannot be serialized // or otherwise recreated in a different process. type Seed struct { s uint64 } // Bytes returns the hash of b with the given seed. // // Bytes is equivalent to, but more convenient and efficient than: // // var h Hash // h.SetSeed(seed) // h.Write(b) // return h.Sum64()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java
} public PopularWordsRequestBuilder addLanguage(final String lang) { request.addLanguage(lang); return this; } public PopularWordsRequestBuilder setSeed(final String seed) { request.setSeed(seed); return this; } public PopularWordsRequestBuilder setWindowSize(final int windowSize) { request.setWindowSize(windowSize); return this; }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
src/hash/maphash/smhasher_test.go
t.Errorf("hash depends on bytes outside key") } } } } } func bytesHash(b []byte) uint64 { var h Hash h.SetSeed(fixedSeed) h.Write(b) return h.Sum64() } func stringHash(s string) uint64 { var h Hash h.SetSeed(fixedSeed) h.WriteString(s) return h.Sum64() } const hashSize = 64 func randBytes(r *rand.Rand, b []byte) { r.Read(b) // can't fail }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
.setQueryFreqThreshold(fessConfig.getSuggestPopularWordQueryFreqAsInteger()); popularWordsRequestBuilder.setSeed(baseSeed); stream(baseTags).of(stream -> stream.forEach(tag -> popularWordsRequestBuilder.addTag(tag))); stream(baseRoles).of(stream -> stream.forEach(role -> popularWordsRequestBuilder.addRole(role)));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
public void setIndex(final String index) { this.index = index; } public void setSize(final int size) { this.size = size; } public void setSeed(final String seed) { this.seed = seed; } public void setWindowSize(final int windowSize) { this.windowSize = windowSize; } public void addTag(final String tag) {
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableUserClassFilePermissions.java
@Inject public DefaultConfigurableUserClassFilePermissions(int unixNumeric) { setRead(isRead(unixNumeric)); setWrite(isWrite(unixNumeric)); setExecute(isExecute(unixNumeric)); } @Override public void unix(String unixSymbolic) { setRead(isRead(unixSymbolic)); setWrite(isWrite(unixSymbolic)); setExecute(isExecute(unixSymbolic)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableUserClassFilePermissions.java
* <p> * Read access grants the capability to view the contents of a file, * or to list the contents of a directory. */ void setRead(boolean read); /** * Enables or disables write access to a file or directory for a certain class of users. * <p> * Write access grants the capability to modify or remove the contents of a file,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 12:31:43 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java
* @return String */ public String getEee() { return null; } /** * @param eee * eee */ public void setEee(final String eee) { } }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/dcl.go
} types.CalcSize(typ) sym := &types.Sym{ Name: autotmpname(len(curfn.Dcl)), Pkg: types.LocalPkg, } name := curfn.NewLocal(pos, sym, typ) name.SetEsc(ir.EscNever) name.SetUsed(true) name.SetAutoTemp(true) return name } var ( autotmpnamesmu sync.Mutex autotmpnames []string ) // autotmpname returns the name for an autotmp variable numbered n.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:15:50 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
// keep their relative offsets correct, treat them all as used. continue } if needAlloc(ln) { ln.SetUsed(false) } } for _, l := range f.RegAlloc { if ls, ok := l.(ssa.LocalSlot); ok { ls.N.SetUsed(true) } } for _, b := range f.Blocks { for _, v := range b.Values { if n, ok := v.Aux.(*ir.Name); ok { switch n.Class {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0)