- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 436 for SplitN (0.14 sec)
-
internal/dsync/drwmutex.go
// Quorum is effectively = total clients subtracted with tolerance limit quorum := len(restClnts) - tolerance if !isReadLock { // In situations for write locks, as a special case // to avoid split brains we make sure to acquire // quorum + 1 when tolerance is exactly half of the // total locker clients. if quorum == tolerance { quorum++ } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 15:49:49 UTC 2024 - 20.4K bytes - Viewed (0) -
fastapi/security/http.py
class HTTPAuthorizationCredentials(BaseModel): """ The HTTP authorization credentials in the result of using `HTTPBearer` or `HTTPDigest` in a dependency. The HTTP authorization header value is split by the first space. The first part is the `scheme`, the second part is the `credentials`. For example, in an HTTP Bearer token scheme, the client will send a header like: ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 19 09:47:28 UTC 2024 - 13.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
String extention; String filePrefix; if (StringUtil.isNotBlank(resourceName)) { final String name = getFileName(resourceName); final String[] strings = name.split("\\."); final StringBuilder buf = new StringBuilder(100); if (strings.length > 1) { for (int i = 0; i < strings.length - 1; i++) { if (buf.length() != 0) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.6K bytes - Viewed (0) -
internal/logger/config.go
var brokers []xnet.Host kafkaBrokers := getCfgVal(EnvKafkaBrokers, k, kv.Get(KafkaBrokers)) if len(kafkaBrokers) == 0 { return cfg, config.Errorf("kafka 'brokers' cannot be empty") } for _, s := range strings.Split(kafkaBrokers, config.ValueSeparator) { var host *xnet.Host host, err = xnet.ParseHost(s) if err != nil { break } brokers = append(brokers, *host) } if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 20 16:02:50 UTC 2024 - 18.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
response.setContentType("text/html;charset=utf-8"); } } Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/")); if (Files.isDirectory(filePath)) { filePath = filePath.resolve("index.html"); } if (Files.exists(filePath)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Aug 15 08:29:24 UTC 2024 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
return fileList; } private File getJspFile(final String fileName, final String jspType) { try { final String[] values = URLDecoder.decode(fileName, Constants.UTF_8).split(":"); if (values.length != 2) { throwValidationError(messages -> messages.addErrorsInvalidDesignJspFileName(GLOBAL), this::asListHtml); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
} } } } protected String[] parsePath(final String path) { if (StringUtil.isNotEmpty(path)) { final String[] values = path.split("/", 2); if (values.length == 2) { return values; } if (values.length == 1 && StringUtil.isNotEmpty(values[0])) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.es.client; import static org.codelibs.core.stream.StreamUtil.split; import static org.codelibs.core.stream.StreamUtil.stream; import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.opensearch.core.action.ActionListener.wrap; import java.io.File;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
dr.pathConsumed -= ( this.path != null ? this.path.length() + 1 : 0 ); } dr.domain = n.getDomain(); return dr; } /* * Split DFS path like \fs1.example.com\root5\link2\foo\bar.txt into at * most 3 components (not including the first index which is always empty): * result[0] = "" * result[1] = "fs1.example.com"
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 11K bytes - Viewed (0) -
cmd/erasure-coding.go
func (e *Erasure) EncodeData(ctx context.Context, data []byte) ([][]byte, error) { if len(data) == 0 { return make([][]byte, e.dataBlocks+e.parityBlocks), nil } encoded, err := e.encoder().Split(data) if err != nil { return nil, err } if err = e.encoder().Encode(encoded); err != nil { return nil, err } return encoded, nil } // DecodeDataBlocks decodes the given erasure-coded data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 8.6K bytes - Viewed (0)