- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 2,996 for switch (0.04 seconds)
-
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
return null; } final String id = getId(configId); if (id == null) { return null; } return switch (configType) { case WEB -> { final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class); yield webConfigService.getWebConfig(id).get();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19.5K bytes - Click Count (1) -
cmd/handler-utils.go
} // If none of the http routes match respond with appropriate errors func errorResponseHandler(w http.ResponseWriter, r *http.Request) { if r.Method == http.MethodOptions { return } desc := "Do not upgrade one server at a time - please follow the recommended guidelines mentioned here https://github.com/minio/minio#upgrading-minio for your environment" switch { case strings.HasPrefix(r.URL.Path, peerRESTPrefix):
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
cmd/sftp-server.go
return err } type sftpLogger struct{} func (s *sftpLogger) Info(tag xsftp.LogType, msg string) { logger.Info(msg) } func (s *sftpLogger) Error(tag xsftp.LogType, err error) { switch tag { case xsftp.AcceptNetworkError: sftpLogOnceIf(context.Background(), err, "accept-limit-sftp") case xsftp.AcceptChannelError: sftpLogOnceIf(context.Background(), err, "accept-channel-sftp")Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
internal/rest/client.go
var ErrClientClosed = errors.New("rest client is closed") // CallWithHTTPMethod - make a REST call with context, using a custom HTTP method. func (c *Client) CallWithHTTPMethod(ctx context.Context, httpMethod, rpcMethod string, values url.Values, body io.Reader, length int64) (reply io.ReadCloser, err error) { switch atomic.LoadInt32(&c.connected) { case closed: // client closed, this is usually a manual process
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertTrue(Files.isDirectory(realSymlinkTarget, NOFOLLOW_LINKS)); } } /** * Starts a new task on the given executor that switches (deletes and replaces) a file between * being a directory and being a symlink. The given {@code file} is the file that should switch * between being a directory and being a symlink, while the given {@code target} is the target the * symlink should have. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
cmd/streaming-v4-unsigned.go
break } // Manually deserialize the size since AWS specified // the chunk size to be of variable width. In particular, // a size of 16 is encoded as `10` while a size of 64 KB // is `10000`. switch { case b >= '0' && b <= '9': size = size<<4 | int(b-'0') case b >= 'a' && b <= 'f': size = size<<4 | int(b-('a'-10)) case b >= 'A' && b <= 'F': size = size<<4 | int(b-('A'-10)) default:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 03 14:55:52 GMT 2025 - 6.3K bytes - Click Count (0) -
cmd/streaming-signature-v4.go
break } // Manually deserialize the size since AWS specified // the chunk size to be of variable width. In particular, // a size of 16 is encoded as `10` while a size of 64 KB // is `10000`. switch { case b >= '0' && b <= '9': size = size<<4 | int(b-'0') case b >= 'a' && b <= 'f': size = size<<4 | int(b-('a'-10)) case b >= 'A' && b <= 'F': size = size<<4 | int(b-('A'-10)) default:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
src/archive/tar/writer_test.go
const maxSize = 10 << 10 // 10KiB buf := new(bytes.Buffer) tw := NewWriter(iotest.TruncateWriter(buf, maxSize)) for i, tf := range v.tests { switch tf := tf.(type) { case testHeader: err := tw.WriteHeader(&tf.hdr) if !equalError(err, tf.wantErr) { t.Fatalf("test %d, WriteHeader() = %v, want %v", i, err, tf.wantErr) } case testWrite:
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
this.info = inf; } return bufferIndex - start; } private FileInformation createFileInformation() { FileInformation inf; switch (this.informationLevel) { case FileInformation.FILE_BASIC_INFO: inf = new FileBasicInfo(); break; case FileInformation.FILE_STANDARD_INFO: inf = new FileStandardInfo();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
cmd/background-heal-ops.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "fmt" "runtime" "strconv" "time" "github.com/minio/madmin-go/v3" "github.com/minio/pkg/v3/env" ) // healTask represents what to heal along with options // // path: '/' => Heal disk formats along with metadata // path: 'bucket/' or '/bucket/' => Heal bucket
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 4.6K bytes - Click Count (0)