Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,387 for Take (0.03 sec)

  1. cmd/metrics-v2_gen.go

    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadMapHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "StaticLabels")
    				return
    			}
    			if z.StaticLabels == nil {
    				z.StaticLabels = make(map[string]string, zb0002)
    			} else if len(z.StaticLabels) > 0 {
    				clear(z.StaticLabels)
    			}
    			for zb0002 > 0 {
    				var za0002 string
    				zb0002--
    				var za0001 string
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. cmd/erasure-coding.go

    // It returns an error if the erasure coding failed.
    func (e *Erasure) EncodeData(ctx context.Context, data []byte) ([][]byte, error) {
    	if len(data) == 0 {
    		return make([][]byte, e.dataBlocks+e.parityBlocks), nil
    	}
    	encoded, err := e.encoder().Split(data)
    	if err != nil {
    		return nil, err
    	}
    	if err = e.encoder().Encode(encoded); err != nil {
    		return nil, err
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. docs/docker/README.md

    Docker provides standardized mechanisms to run docker containers as non-root users.
    
    #### GNU/Linux and macOS (regular user)
    
    On Linux and macOS you can use `--user` to run the container as regular user.
    
    > NOTE: make sure --user has write permission to *${HOME}/data* prior to using `--user`.
    
    ```sh
    mkdir -p ${HOME}/data
    docker run \
      -p 9000:9000 \
      -p 9001:9001 \
      --user $(id -u):$(id -g) \
      --name minio1 \
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. buildSrc/src/main/kotlin/Osgi.kt

      // 'main'. Work around this by creating a 'main' source set that forwards to 'jvmMain'.
      //
      // The forwarding SourceSet also needs to fake out some task names to prevent them from being
      // registered twice.
      //
      // https://github.com/bndtools/bnd/issues/6590
      val jvmMainSourceSet = sourceSets.getByName("jvmMain")
      val mainSourceSet =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        // Wait for the listeners to be called, don't rely on the same-thread exec.
        listenerLatch.await(5, SECONDS);
        assertTrue(task.isDone());
        assertTrue(task.isCancelled());
    
        // Make sure we didn't run anything.
        assertEquals(1, runLatch.getCount());
      }
    
      public void testListenerCalledOnCancelFromRunning() throws Exception {
        exec.execute(task);
        runLatch.await();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            assertTrue(context.isCloseCalled()); // Verify close() was called
        }
    
        @Test
        void testRun_closeThrowsException() throws CIFSException {
            // Create a spy on the context to make close() throw an exception
            TestAbstractCIFSContext spyContext = new TestAbstractCIFSContext(mockCredentials) {
                @Override
                public boolean close() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       *
       * We'd just use PackageSanityTests directly, saving us from needing this separate type, but we're
       * currently skipping MediumTests on Android, and we skip them by not making them present at
       * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on
       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/eventbus/Subscriber.java

                bus.handleSubscriberException(e.getCause(), context(event));
              }
            });
      }
    
      /**
       * Invokes the subscriber method. This method can be overridden to make the invocation
       * synchronized.
       */
      @VisibleForTesting
      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
          method.invoke(target, checkNotNull(event));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. cmd/background-heal-ops.go

    		} else {
    			workers = numHealers
    		}
    	}
    
    	if workers == 0 {
    		workers = 4
    	}
    
    	return &healRoutine{
    		tasks:   make(chan healTask),
    		workers: workers,
    	}
    }
    
    // healDiskFormat - heals format.json, return value indicates if a
    // failure error occurred.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/evaluator.go

    			return true
    		}
    	}
    	return false
    }
    
    // eval will return a lifecycle event for each object in objs for a given time.
    func (e *Evaluator) eval(objs []ObjectOpts, now time.Time) []Event {
    	events := make([]Event, len(objs))
    	var newerNoncurrentVersions int
    loop:
    	for i, obj := range objs {
    		event := e.policy.eval(obj, now, newerNoncurrentVersions)
    		switch event.Action {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top