Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 517 for jconst (0.05 sec)

  1. cmd/mrf.go

    	"io"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/pkg/v3/wildcard"
    	"github.com/tinylib/msgp/msgp"
    )
    
    const (
    	mrfOpsQueueSize = 100000
    )
    
    const (
    	healDir              = ".heal"
    	healMRFDir           = bucketMetaPrefix + SlashSeparator + healDir + SlashSeparator + "mrf"
    	healMRFMetaFormat    = 1
    	healMRFMetaVersionV1 = 1
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.zip.Inflater
    import okio.Buffer
    import okio.InflaterSource
    
    private const val OCTETS_TO_ADD_BEFORE_INFLATION = 0x0000ffff
    
    class MessageInflater(
      private val noContextTakeover: Boolean,
    ) : Closeable {
      private val deflatedBytes = Buffer()
    
      private val inflater =
        Inflater(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. internal/disk/directio_unix.go

    package disk
    
    import (
    	"os"
    	"syscall"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. cmd/scannermetric_string.go

    	_ = x[scannerMetricScanFolder-17]
    	_ = x[scannerMetricScanCycle-18]
    	_ = x[scannerMetricScanBucketDrive-19]
    	_ = x[scannerMetricCompactFolder-20]
    	_ = x[scannerMetricLast-21]
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. internal/grid/handlers_string.go

    	_ = x[HandlerRenameData2-73]
    	_ = x[HandlerCheckParts2-74]
    	_ = x[HandlerRenamePart-75]
    	_ = x[HandlerClearUploadID-76]
    	_ = x[handlerTest-77]
    	_ = x[handlerTest2-78]
    	_ = x[handlerLast-79]
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. internal/hash/sha256/sh256.go

    func New() hash.Hash { return sha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
    
    // Size is the size of a SHA256 checksum in bytes.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 06:31:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. internal/config/lambda/config.go

    // Config - lambda target configuration structure, holds
    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    		Webhook: make(map[string]target.WebhookArgs),
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

     * A HostnameVerifier consistent with [RFC 2818][rfc_2818].
     *
     * [rfc_2818]: http://www.ietf.org/rfc/rfc2818.txt
     */
    @Suppress("NAME_SHADOWING")
    object OkHostnameVerifier : HostnameVerifier {
      private const val ALT_DNS_NAME = 2
      private const val ALT_IPA_NAME = 7
    
      override fun verify(
        host: String,
        session: SSLSession,
      ): Boolean {
        return if (!host.isAscii()) {
          false
        } else {
          try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

        private const val UNICODE_2 = 0x1a5
    
        /** Arbitrary code point that's 3 bytes in UTF-8 and valid in IdnaMappingTable.txt. */
        private const val UNICODE_3 = 0x2202
    
        /** Arbitrary code point that's 4 bytes in UTF-8 and valid in IdnaMappingTable.txt. */
        private const val UNICODE_4 = 0x1d11e
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. cmd/signals.go

    import (
    	"context"
    	"errors"
    	"net/http"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/coreos/go-systemd/v22/daemon"
    	"github.com/minio/minio/internal/logger"
    )
    
    func shutdownHealMRFWithTimeout() {
    	const shutdownTimeout = time.Minute
    
    	finished := make(chan struct{})
    	go func() {
    		globalMRFState.shutdown()
    		close(finished)
    	}()
    	select {
    	case <-time.After(shutdownTimeout):
    	case <-finished:
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top