Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 492 for Cases (2.54 sec)

  1. cmd/object-api-errors.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    )
    
    // Converts underlying storage error. Convenience function written to
    // handle all cases where we have known types of errors returned by
    // underlying storage layer.
    func toObjectErr(oerr error, params ...string) error {
    	if oerr == nil {
    		return nil
    	}
    
    	// Unwarp the error first
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Equivalence.java

       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
       * <p>Historically, {@code Equivalence} instances in this library have implemented this method to
       * recognize certain cases where distinct {@code Equivalence} instances would in fact behave
       * identically. However, as code migrates to {@code java.util.function}, that behavior will
       * disappear. It is best not to depend on it.
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                assertNull(actualFileId);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test buffer size edge cases")
        void testBufferSizeEdgeCases() {
            // Test with very small buffer sizes
            when(mockConfig.getMaximumBufferSize()).thenReturn(256);
            when(mockConfig.getListSize()).thenReturn(128);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            defaultSortBuilders = list.toArray(new SortBuilder[list.size()]);
        }
    
        /**
         * Creates a sort builder for the specified field and order.
         * This method handles special cases for score fields and regular field sorting.
         *
         * @param field the field name to sort by
         * @param order the sort order (ASC or DESC)
         * @return a configured sort builder
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractService.java

                enqueueStoppingEvent(RUNNING);
                doStop();
                break;
              case STOPPING:
              case TERMINATED:
              case FAILED:
                // These cases are impossible due to the if statement above.
                throw new AssertionError("isStoppable is incorrectly implemented, saw: " + previous);
            }
          } catch (Throwable shutdownFailure) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ACETest.java

                assertFalse((writeOnly & ACE.FILE_READ_DATA) != 0, "Write should not include FILE_READ_DATA");
            }
        }
    
        @Nested
        @DisplayName("Boundary Conditions and Edge Cases")
        class BoundaryConditionsTests {
    
            @Test
            @DisplayName("Should handle signed/unsigned integer boundaries")
            void shouldHandleSignedUnsignedBoundaries() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  7. cmd/xl-storage-format_test.go

    	}
    
    	compareXLMetaV1(t, unMarshalXLMeta, jsoniterXLMeta)
    }
    
    // Test the predicted part size from the part index
    func TestGetPartSizeFromIdx(t *testing.T) {
    	// Create test cases
    	testCases := []struct {
    		totalSize    int64
    		partSize     int64
    		partIndex    int
    		expectedSize int64
    	}{
    		// Total size is zero
    		{0, 10, 1, 0},
    		// part size 2MiB, total size 4MiB
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(0L, freshInfo.getFree());
                assertEquals(FileSystemInformation.FS_SIZE_INFO, freshInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Real-World Scenarios")
        class EdgeCasesAndRealWorldTests {
    
            @Test
            @DisplayName("Should handle typical Windows NTFS configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

    import jcifs.internal.smb1.trans2.Trans2SetFileInformationResponse;
    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    
    /**
     * Tests for SmbRandomAccessFile covering happy paths, edge cases, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbRandomAccessFileTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. cmd/bucket-metadata.go

    }
    
    // SetCreatedAt preserves the CreatedAt time for bucket across sites in site replication. It defaults to
    // creation time of bucket on this cluster in all other cases.
    func (b *BucketMetadata) SetCreatedAt(createdAt time.Time) {
    	if b.Created.IsZero() {
    		b.Created = UTCNow()
    	}
    	if !createdAt.IsZero() {
    		b.Created = createdAt.UTC()
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top