Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for Levels (0.34 sec)

  1. tests/preload_suits_test.go

    			ID       uint
    			Level1s  []Level1
    			Level3ID uint
    		}
    		Level3 struct {
    			ID     uint
    			Name   string
    			Level2 Level2
    		}
    	)
    	DB.Migrator().DropTable(&Level3{}, &Level2{}, &Level1{})
    	if err := DB.AutoMigrate(&Level3{}, &Level2{}, &Level1{}); err != nil {
    		t.Error(err)
    	}
    
    	want := make([]Level3, 2)
    	want[0] = Level3{
    		Level2: Level2{
    			Level1s: []Level1{
    				{Value: "value1"},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 05 11:34:13 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

       * Returns the ancestor of the current domain at the given number of levels "higher" (rightward)
       * in the subdomain list. The number of levels must be non-negative, and less than {@code N-1},
       * where {@code N} is the number of parts in the domain.
       *
       * <p>TODO: Reasonable candidate for addition to public API.
       */
      private InternetDomainName ancestor(int levels) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        }
    
        @Test
        void testReadDataWireFormat_UnsupportedInformationLevel() throws Exception {
            // Test with unsupported information level
            response = new Trans2QueryFSInformationResponse(config, 0x999); // Invalid level
    
            byte[] buffer = new byte[100];
    
            // Set dataCount using reflection
            setDataCount(response, 20);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                System.arraycopy(fileId, 0, buffer, 8, 16);
                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Oplock Level Constants Tests")
        class OplockLevelTests {
    
            @ParameterizedTest
            @DisplayName("Should handle standard oplock levels")
            @MethodSource("provideOplockLevels")
            void testStandardOplockLevels(byte oplockLevel, String description) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Should write 2 bytes: information level
            assertEquals(2, written);
    
            // Check information level (FS_SIZE_INFO maps to 0x0103)
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0103, actualInfoLevel);
        }
    
        @DisplayName("Test writeParametersWireFormat with different information levels")
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

                // These are valid levels, skip assertion
                return;
            }
    
            IllegalArgumentException exception =
                    assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(level));
            assertTrue(exception.getMessage().contains("Unsupported information level"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertNull(exception3.getComponentName());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Root cause");
            RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       <ul>
     *         <li>2 levels: average of 64ns per lock()/unlock()
     *         <li>3 levels: average of 77ns per lock()/unlock()
     *         <li>4 levels: average of 99ns per lock()/unlock()
     *         <li>5 levels: average of 103ns per lock()/unlock()
     *         <li>10 levels: average of 184ns per lock()/unlock()
     *         <li>20 levels: average of 393ns per lock()/unlock()
     *       </ul>
     * </ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

            return problemsReportedFor(BuilderProblem.Severity.values());
        }
    
        /**
         * Returns count of problems reported for given severities.
         *
         * @param severities the severity levels to count problems for
         * @return the total count of problems for the specified severities
         */
        int problemsReportedFor(BuilderProblem.Severity... severities);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertThrows(NullPointerException.class, () -> {
                    buffer.size();
                });
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various referral levels")
            @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 255, 256, 32767, 65535 })
            void testConstructorWithVariousReferralLevels(int maxReferralLevel) {
                String path = "\\\\test";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top