- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 2,842 for switch (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/config/identity/plugin/config.go
// Drop the last full minute now, since we got a request for a time we // are not yet tracking. h.updateLastFullMinute(reqTimeMinute) } var entry *serviceRTTMinuteStats switch { case reqTimeMinute.Equal(h.currentMinute.statsTime): entry = &h.currentMinute case reqTimeMinute.Equal(h.lastFullMinute.statsTime): entry = &h.lastFullMinute default:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
this.path = path; this.service = service; } @Override protected int getBatchLimit(final Configuration cfg, final byte cmd) { final int c = cmd & 0xFF; switch (c) { case SMB_COM_CHECK_DIRECTORY: return cfg.getBatchLimit("TreeConnectAndX.CheckDirectory"); case SMB_COM_CREATE_DIRECTORY: return cfg.getBatchLimit("TreeConnectAndX.CreateDirectory");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
} /** * Gets the error message for the current return code. * * @return a human-readable error message */ public String getErrorMessage() { switch (returnCode) { case ERROR_SUCCESS: return "Success"; case ERROR_INVALID_PARAMETER: return "Invalid parameter"; case ERROR_INSUFFICIENT_BUFFER:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.5K bytes - Click Count (0) -
src/bytes/bytes.go
// HasPrefix reports whether the byte slice s begins with prefix. func HasPrefix(s, prefix []byte) bool { return len(s) >= len(prefix) && Equal(s[:len(prefix)], prefix) } // HasSuffix reports whether the byte slice s ends with suffix. func HasSuffix(s, suffix []byte) bool { return len(s) >= len(suffix) && Equal(s[len(s)-len(suffix):], suffix) } // Map returns a copy of the byte slice s with all its characters modified
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java
@Param({ "16" }) private double indexingBufferMb; private ScoreScript.Factory factory; private IndexReader reader; @Setup public void setupScript() { switch (script) { case "expression": factory = scriptModule.engines.get("expression").compile("test", "doc['n'].value", ScoreScript.CONTEXT, Map.of()); break; case "metal":Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 13:45:50 GMT 2021 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
*/ public byte[] initSecContext(byte[] token, final int offset, final int len) throws SmbException { switch (state) { case 1: final Type1Message msg1 = new Type1Message(ntlmsspFlags, auth.getDomain(), workstation); token = msg1.toByteArray(); if (LogStream.level >= 4) { log.println(msg1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/jcifs/util/Encdec.java
* @return the number of bytes written */ public static int enc_time(final Date date, final byte[] dst, final int di, final int enc) { long t; return switch (enc) { case TIME_1970_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L), dst, di); case TIME_1970_SEC_32LE -> enc_uint32le((int) (date.getTime() / 1000L), dst, di);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
cmd/config-migrate.go
// root credentials set via environment variable. globalActiveCred = cfg.Credential } // Init compression config. For future migration, Compression config needs to be copied over from previous version. switch cfg.Version { case "29": // V29 -> V30 cfg.Compression.Enabled = false cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.4K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
extraBytes := d.idx - d.length n -= int(extraBytes) if n < 0 { n = 0 } err = io.EOF } return n, err } func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) { switch whence { case io.SeekStart: if offset < 0 { return 0, errors.New("Invalid offset") } d.idx = offset case io.SeekCurrent: if d.idx+offset < 0 { return 0, errors.New("Invalid offset") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0)