Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 650 for jconst (0.05 sec)

  1. cmd/service.go

    import (
    	"context"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    // Type of service signals currently supported.
    type serviceSignal int
    
    const (
    	serviceRestart       serviceSignal = iota // Restarts the server.
    	serviceStop                               // Stops the server.
    	serviceReloadDynamic                      // Reload dynamic config values.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. internal/config/subnet/config.go

    package subnet
    
    import (
    	"net/http"
    	"net/url"
    	"os"
    	"strings"
    	"sync"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	baseURL    = "https://subnet.min.io"
    	baseURLDev = "http://localhost:9000"
    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

          Thread {
            sleep(delayMillis)
            toInterrupt.interrupt()
          }
        interruptingCow.start()
      }
    
      companion object {
        // The size of the socket buffers in bytes.
        private const val SOCKET_BUFFER_SIZE = 256 * 1024
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/metrics-v3-replication.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    )
    
    const (
    	replicationAverageActiveWorkers    = "average_active_workers"
    	replicationAverageQueuedBytes      = "average_queued_bytes"
    	replicationAverageQueuedCount      = "average_queued_count"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. cmd/untar.go

    		if bytes.Equal(f.header, z[:len(f.header)]) {
    			return f.f
    		}
    	}
    	return formatUnknown
    }
    
    //go:generate stringer -type=format -trimprefix=format $GOFILE
    type format int
    
    const (
    	formatUnknown format = iota
    	formatGzip
    	formatZstd
    	formatLZ4
    	formatS2
    	formatBZ2
    )
    
    var magicHeaders = []struct {
    	header []byte
    	f      format
    }{
    	{
    		header: []byte{0x1f, 0x8b, 8},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-utils_test.go

    				xhttp.AmzBucketReplicationStatus: "",
    				xhttp.ContentType:                "application/json",
    			},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			const n = 100
    			want := hashDeterministicString(tt.arg)
    			m := tt.arg
    			for i := 0; i < n; i++ {
    				if got := hashDeterministicString(m); got != want {
    					t.Errorf("hashDeterministicString() = %v, want %v", got, want)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. internal/http/server.go

    )
    
    var (
    	// GlobalMinIOVersion - is sent in the header to all http targets
    	GlobalMinIOVersion string
    
    	// GlobalDeploymentID - is sent in the header to all http targets
    	GlobalDeploymentID string
    )
    
    const (
    	// DefaultIdleTimeout for idle inactive connections
    	DefaultIdleTimeout = 30 * time.Second
    
    	// DefaultReadHeaderTimeout for very slow inactive connections
    	DefaultReadHeaderTimeout = 30 * time.Second
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. internal/crypto/metadata.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const (
    	// MetaMultipart indicates that the object has been uploaded
    	// in multiple parts - via the S3 multipart API.
    	MetaMultipart = "X-Minio-Internal-Encrypted-Multipart"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/sts-errors.go

    type STSErrorCode int
    
    //go:generate stringer -type=STSErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html
    const (
    	ErrSTSNone STSErrorCode = iota
    	ErrSTSAccessDenied
    	ErrSTSMissingParameter
    	ErrSTSInvalidParameterValue
    	ErrSTSWebIdentityExpiredToken
    	ErrSTSClientGrantsExpiredToken
    	ErrSTSInvalidClientGrantsToken
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. cmd/bucket-notification-handlers.go

    import (
    	"encoding/xml"
    	"io"
    	"net/http"
    	"reflect"
    
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	bucketNotificationConfig = "notification.xml"
    )
    
    // GetBucketNotificationHandler - This HTTP handler returns event notification configuration
    // as per http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top