Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 615 for getRate (0.05 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("getName should return resource name")
            void testGetName() throws CIFSException {
                // Given
                String expectedName = "test.txt";
                when(mockResource.getName()).thenReturn(expectedName);
    
                // When
                String name = mockResource.getName();
    
                // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            String remark = "remark";
            instance = new SmbShareInfo(netName, type, remark);
            assertEquals(netName, instance.getName());
            // Note: getType() transforms the raw type
            assertEquals(SmbFile.TYPE_PRINTER, instance.getType());
        }
    
        /**
         * Test of getName method, of class SmbShareInfo.
         */
        @Test
        void testGetName() {
            String netName = "TEST_SHARE";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(9999, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertNull(ftpInfo.getName());
    
            value = "ftp://123.123.123.123/test.txt";
            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals(value, ftpInfo.toUrl());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/FieldUtil.java

                        asArray(clazz.getName(), clazz.getClassLoader(), fieldClass.getName(), fieldClass.getClassLoader(), field.getName(),
                                valueClass == null ? null : valueClass.getName(), valueClass == null ? null : valueClass.getClassLoader(),
                                value, targetClass == null ? null : targetClass.getName(),
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                int modifiers = field.getModifiers();
                assertTrue(Modifier.isPublic(modifiers), "Field " + field.getName() + " should be public");
                assertTrue(Modifier.isStatic(modifiers), "Field " + field.getName() + " should be static");
                assertTrue(Modifier.isFinal(modifiers), "Field " + field.getName() + " should be final");
            }
        }
    
        @Test
        @DisplayName("Test constant values are unique")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbSessionTest.java

                assertDoesNotThrow(() -> {
                    java.lang.reflect.Method closeMethod = SmbSession.class.getMethod("close");
                    assertEquals("close", closeMethod.getName());
                    assertEquals(0, closeMethod.getParameterCount());
                    assertEquals(void.class, closeMethod.getReturnType());
                }, "close() method should be properly defined");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertArrayEquals(unicodeHash, auth.getUnicodeHash(challenge));
        }
    
        // Test getName method
        @Test
        void testGetName() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            assertEquals("DOMAIN\\user", auth.getName());
        }
    
        // Test getName method with default domain
        @Test
        void testGetNameWithDefaultDomain() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/JobHelper.java

                        logger.info("Starting Job {}:{}", id, scheduledJob.getName());
                        final String cronExpression = scheduledJob.getCronExpression();
                        job.reschedule(cronExpression, op -> op.changeNoticeLogToDebug().params(paramsOp));
                    } else {
                        logger.info("Inactive Job: id={}, name={}", id, scheduledJob.getName());
                        job.becomeNonCron();
                    }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            // Should return 0 when auto-connect fails due to missing project ID
            long lastModified = conn.getLastModified();
            assertEquals(0, lastModified);
        }
    
        /**
         * Test that getDate() delegates to getLastModified().
         */
        public void test_getDate_delegatesToGetLastModified() throws Exception {
            URL url = new URL("gcs://mybucket/object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

       */
      fun getDate(name: String): Date? = get(name)?.toHttpDateOrNull()
    
      /**
       * Returns the last value corresponding to the specified field parsed as an HTTP date, or null if
       * either the field is absent or cannot be parsed as a date.
       */
      @IgnoreJRERequirement // Only programs that already have Instant will use this.
      fun getInstant(name: String): Instant? = getDate(name)?.toInstant()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top