- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 205 for Dup (0.28 sec)
-
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java
nBestCost = settings.getAsInt(NBEST_COST, -1); nBestExamples = settings.get(NBEST_EXAMPLES); } private static String parse(String rule, Set<String> dup) { String[] values = CSVUtil.parse(rule); if (dup.add(values[0]) == false) { throw new IllegalArgumentException("Found duplicate term [" + values[0] + "] in user dictionary."); } return rule; }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.7K bytes - Viewed (0) -
src/expvar/expvar.go
if _, ok := v.m.Load(key); !ok { if _, dup := v.m.LoadOrStore(key, av); !dup { v.addKey(key) return } } v.m.Store(key, av) } // Add adds delta to the *[Int] value stored under the given map key. func (v *Map) Add(key string, delta int64) { i, ok := v.m.Load(key) if !ok { var dup bool i, dup = v.m.LoadOrStore(key, new(Int)) if !dup { v.addKey(key) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 21:32:11 UTC 2024 - 9.1K bytes - Viewed (0) -
test/fixedbugs/issue35291.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Check error message for duplicated index in slice literal package p var s = []string{ 1: "dup", 1: "dup", // ERROR "duplicate index in slice literal: 1|duplicate value for index 1|duplicate index 1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 22 17:50:13 UTC 2020 - 383 bytes - Viewed (0) -
src/net/fd_plan9.go
fd.data = nil fd.listen = nil return err } // This method is only called via Conn. func (fd *netFD) dup() (*os.File, error) { if !fd.ok() || fd.data == nil { return nil, syscall.EINVAL } return fd.file(fd.data, fd.dir+"/data") } func (l *TCPListener) dup() (*os.File, error) { if !l.fd.ok() { return nil, syscall.EINVAL } return l.fd.file(l.fd.ctl, l.fd.dir+"/ctl") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 04 16:01:50 UTC 2018 - 3.6K bytes - Viewed (0) -
src/archive/zip/register.go
if _, dup := decompressors.LoadOrStore(method, dcomp); dup { panic("decompressor already registered") } } // RegisterCompressor registers custom compressors for a specified method ID. // The common methods [Store] and [Deflate] are built in. func RegisterCompressor(method uint16, comp Compressor) { if _, dup := compressors.LoadOrStore(method, comp); dup { panic("compressor already registered")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
src/runtime/race/race_darwin_amd64.go
//go:cgo_import_dynamic abort abort "" //go:cgo_import_dynamic arc4random_buf arc4random_buf "" //go:cgo_import_dynamic close close "" //go:cgo_import_dynamic dlsym dlsym "" //go:cgo_import_dynamic dup dup "" //go:cgo_import_dynamic dup2 dup2 "" //go:cgo_import_dynamic dyld_shared_cache_iterate_text dyld_shared_cache_iterate_text "" //go:cgo_import_dynamic execve execve "" //go:cgo_import_dynamic exit exit ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:29:22 UTC 2023 - 5.6K bytes - Viewed (0) -
src/runtime/race/race_darwin_arm64.go
//go:cgo_import_dynamic abort abort "" //go:cgo_import_dynamic arc4random_buf arc4random_buf "" //go:cgo_import_dynamic bzero bzero "" //go:cgo_import_dynamic close close "" //go:cgo_import_dynamic dlsym dlsym "" //go:cgo_import_dynamic dup dup "" //go:cgo_import_dynamic dup2 dup2 "" //go:cgo_import_dynamic dyld_shared_cache_iterate_text dyld_shared_cache_iterate_text "" //go:cgo_import_dynamic execve execve "" //go:cgo_import_dynamic exit exit ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:29:22 UTC 2023 - 5.6K bytes - Viewed (0) -
src/syscall/exec_bsd.go
} // Implemented in runtime package. func runtime_BeforeFork() func runtime_AfterFork() func runtime_AfterForkInChild() // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. // If a dup or exec fails, write the errno error to pipe. // (Pipe is close-on-exec so if exec succeeds, it will be closed.) // In the child, this function must not acquire any locks, because
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 7.9K bytes - Viewed (0) -
src/image/gif/writer.go
// translated such that its top-left corner is (0, 0), so that the single // frame completely fills the overall GIF's bounds. if pm.Rect.Min != (image.Point{}) { dup := *pm dup.Rect = dup.Rect.Sub(dup.Rect.Min) pm = &dup } return EncodeAll(w, &GIF{ Image: []*image.Paletted{pm}, Delay: []int{0}, Config: image.Config{ ColorModel: pm.Palette, Width: b.Dx(),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/use.go
} return } if !fi.Mode().IsRegular() { sw.Error(fmt.Errorf("%v is not a regular file", file)) return } if dup := keepDirs[absDir]; dup != "" && dup != dir { base.Errorf(`go: already added "%s" as "%s"`, dir, dup) } keepDirs[absDir] = dir } for _, useDir := range args { absArg, _ := pathRel(workDir, useDir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 7K bytes - Viewed (0)