Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 388 for Docker (0.04 sec)

  1. cmd/bucket-object-lock.go

    // enforceRetentionForDeletion checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    func enforceRetentionForDeletion(ctx context.Context, objInfo ObjectInfo) (locked bool) {
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    	if lhold.Status.Valid() && lhold.Status == objectlock.LegalHoldOn {
    		return true
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/TestReader.java

    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/TestReader.java

    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link AbstractListeningExecutorService}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link AbstractListeningExecutorService}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        @Mock
        private Principal mockPrincipal;
    
        private NtlmHttpServletRequest ntlmRequest;
    
        @BeforeEach
        void setUp() {
            // Create a new NtlmHttpServletRequest with mocked dependencies before each test
            ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

     * The interface has no instance methods, so the tests focus on
     * value correctness and array integrity.  A tiny Mockito example
     * demonstrates that the interface can be mocked if another class
     * depends on it.
     */
    public class WinErrorTest {
    
        @Nested
        @DisplayName("Constant value checks")
        class ConstantValues {
            @Test
            void successIsZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSinkTest.java

    import java.io.StringReader;
    import java.io.Writer;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
      public void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractByteHasher.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    abstract class AbstractByteHasher extends AbstractHasher {
      private @Nullable ByteBuffer scratch;
    
      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 12:40:17 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/ChecksumHashFunction.java

    import java.nio.ByteBuffer;
    import java.util.zip.Checksum;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link HashFunction} adapter for {@link Checksum} instances.
     *
     * @author Colin Decker
     */
    @Immutable
    final class ChecksumHashFunction extends AbstractHashFunction implements Serializable {
      private final ImmutableSupplier<? extends Checksum> checksumSupplier;
      private final int bits;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top