Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for getYear (0.06 seconds)

  1. src/test/java/jcifs/pac/PacLogonInfoTest.java

            Date date = pacStream.readFiletime();
            assertNotNull(date);
            // The date should be around 1970 (allowing for some conversion differences)
            assertTrue(date.getYear() + 1900 >= 1969 && date.getYear() + 1900 <= 1971);
        }
    
        @Test
        @DisplayName("Test invalid FILETIME handling")
        void testInvalidFiletime() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/FileEntryTest.java

        }
    
        @ParameterizedTest(name = "Int getter {2} returns {1}")
        @MethodSource("intGetterProvider")
        void intGetters_edgeCases(IntGetter getter, int value, String label) {
            // Arrange
            FileEntry e = new TestFileEntry("n", value, value, 0L, 0L, 0L, 0L, value);
            // Act
            int actual = getter.apply(e);
            // Assert
            assertEquals(value, actual, label);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test subCommand getter and setter")
        void testSubCommandGetterSetter() {
            byte subcommand = (byte) 0x05;
            response.setSubCommand(subcommand);
            assertEquals(subcommand, response.getSubCommand());
        }
    
        @Test
        @DisplayName("Test status getter and setter")
        void testStatusGetterSetter() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.foo()"),
                    added("Method", "SourceKt.fooExt(int)"),
                    added("Method", "SourceKt.fooExt(java.lang.String)"),
                    added("Method", "SourceKt.getBar()"),
                    added("Method", "SourceKt.getBarExt(java.lang.String)"),
                    added("Method", "SourceKt.getBazar()"),
                    added("Method", "SourceKt.getBazarExt(int)"),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. configure.py

        for root, _, filenames in os.walk(makefile_download_dir):
          for f in filenames:
            if f.endswith('BUILD'):
              os.remove(os.path.join(root, f))
    
    
    def get_var(environ_cp,
                var_name,
                query_item,
                enabled_by_default,
                question=None,
                yes_reply=None,
                no_reply=None):
      """Get boolean input from user.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        }
    
        @Override
        public final Method getReadMethod() {
            return readMethod;
        }
    
        /**
         * Sets the getter method.
         *
         * @param readMethod
         *            The getter method.
         */
        protected final void setReadMethod(final Method readMethod) {
            this.readMethod = readMethod;
            if (readMethod != null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                propertyDescCache.remove(name);
            }
            invalidPropertyNames.clear();
        }
    
        /**
         * Prepares the getter method.
         *
         * @param readMethod
         *            the getter method
         * @param propertyName
         *            the property name
         */
        protected void setupReadMethod(final Method readMethod, final String propertyName) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 25.8K bytes
    - Click Count (1)
  8. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(0x42, released[0]);
    
            // After release, getting buffer again should return null
            assertNull(transaction.releaseBuffer());
        }
    
        @Test
        @DisplayName("Test subCommand getter and setter")
        void testSubCommand() {
            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand());
    
            transaction.setSubCommand(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            }
        }
    
        @Test
        public void test_genericTypeSafety_consistencyBetweenConstructorAndGetter() {
            // Verify consistency between constructor parameter type and getter return type
            // This test ensures the generic type change is consistent throughout the class
    
            // Test with RootAction.class
            Class<? extends RootAction> inputClass1 = RootAction.class;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                }
                classDoc.classProperties.each { propertyDoc ->
                    linkMetaData.addPropertyAccessorMethod(propertyDoc.name, propertyDoc.metaData.getter ?: propertyDoc.metaData.setter)
                }
            } catch (Exception e) {
                throw new DocGenerationException("Failed to generate documentation for class '$classDoc.name'.", e)
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
Back to Top