Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 604 for sink64 (0.09 sec)

  1. internal/config/storageclass/storage-class.go

    // if versioned is true then we chosen 1/8th inline block size
    // to satisfy the same constraints.
    func (sCfg *Config) ShouldInline(shardSize int64, versioned bool) bool {
    	if shardSize < 0 {
    		return false
    	}
    
    	ConfigLock.RLock()
    	inlineBlock := int64(128 * humanize.KiByte)
    	if sCfg.initialized {
    		inlineBlock = sCfg.inlineBlock
    	}
    	ConfigLock.RUnlock()
    
    	if versioned {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/config-common.go

    	}
    	return err
    }
    
    func saveConfigWithOpts(ctx context.Context, store objectIO, configFile string, data []byte, opts ObjectOptions) error {
    	hashReader, err := hash.NewReader(ctx, bytes.NewReader(data), int64(len(data)), "", getSHA256Hash(data), int64(len(data)))
    	if err != nil {
    		return err
    	}
    
    	_, err = store.PutObject(ctx, minioMetaBucket, configFile, NewPutObjReader(hashReader), opts)
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          writeHeaders(sink, response.trailers)
        }
      }
    
      @Throws(IOException::class)
      private fun writeHeaders(
        sink: BufferedSink,
        headers: Headers,
      ) {
        for ((name, value) in headers) {
          sink.writeUtf8(name)
          sink.writeUtf8(": ")
          sink.writeUtf8(value)
          sink.writeUtf8("\r\n")
        }
        sink.writeUtf8("\r\n")
        sink.flush()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  4. internal/config/lambda/target/webhook.go

    		return errors.New("cert and key must be specified as a pair")
    	}
    	return nil
    }
    
    // WebhookTarget - Webhook target.
    type WebhookTarget struct {
    	activeRequests int64
    	totalRequests  int64
    	failedRequests int64
    
    	lazyInit lazyInit
    
    	id         event.TargetID
    	args       WebhookArgs
    	transport  *http.Transport
    	httpClient *http.Client
    	loggerOnce logger.LogOnce
    	cancel     context.CancelFunc
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        }
        return suite;
      }
    
      private ByteSink sink;
    
      ByteSinkTester(
          ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
        super(factory, data, suiteName, caseDesc, method);
      }
    
      @Override
      protected void setUp() throws Exception {
        sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSinkTester.java

        }
        return suite;
      }
    
      private ByteSink sink;
    
      ByteSinkTester(
          ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
        super(factory, data, suiteName, caseDesc, method);
      }
    
      @Override
      protected void setUp() throws Exception {
        sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. internal/grid/msg_string.go

    var _Op_index = [...]uint8{0, 7, 22, 26, 30, 40, 55, 74, 93, 105, 117, 130, 142, 148, 155, 163, 173, 179}
    
    func (i Op) String() string {
    	i -= 1
    	if i >= Op(len(_Op_index)-1) {
    		return "Op(" + strconv.FormatInt(int64(i+1), 10) + ")"
    	}
    	return _Op_name[_Op_index[i]:_Op_index[i+1]]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        TestByteSink sink = new TestByteSink();
    
        assertFalse(sink.wasStreamOpened() || sink.wasStreamClosed());
    
        assertEquals(bytes.length, source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertArrayEquals(bytes, sink.getBytes());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. cmd/warm-backend-s3.go

    	destObj := object
    	if s3.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", s3.Prefix, object)
    	}
    	return destObj
    }
    
    func (s3 *warmBackendS3) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	res, err := s3.client.PutObject(ctx, s3.Bucket, s3.getDest(object), r, length, minio.PutObjectOptions{
    		SendContentMd5: true,
    		StorageClass:   s3.StorageClass,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. internal/config/scanner/scanner.go

    	// Sleep always or based on incoming S3 requests.
    	IdleMode int32 // 0 => on, 1 => off
    
    	// Alert upon this many excess object versions
    	ExcessVersions int64 // 100
    
    	// Alert upon this many excess sub-folders per folder in an erasure set.
    	ExcessFolders int64 // 50000
    
    	// MaxWait is maximum wait time between operations
    	MaxWait time.Duration
    	// Cycle is the time.Duration between each scanner cycles
    	Cycle time.Duration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top