Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3701 - 3710 of 5,353 for Return (0.06 sec)

  1. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

                }
    
                return tokens;
            }
    
            private String convertToJapaneseReading(String term) {
                // Simple simulation of Japanese reading conversion
                if ("東京".equals(term)) {
                    return "トウキョウ";
                } else if ("大阪".equals(term)) {
                    return "オオサカ";
                } else {
                    return term.toUpperCase();
                }
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Internal.java

        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
      private Internal() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Build a minimal SPNEGO NegTokenInit containing the provided mechanisms
            NegTokenInit tok = new NegTokenInit(mechs, 0, null, null);
            return tok.toByteArray();
        }
    
        @Test
        @DisplayName("createContext: rejects NetBIOS/short host names")
        void createContext_rejectsShortNetbiosHost() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

        static {
            initialize();
        }
    
        /**
         * Returns a {@link BeanDesc}.
         *
         * @param clazz
         *            the Bean class. Must not be {@literal null}
         * @return {@link BeanDesc}
         */
        public static BeanDesc getBeanDesc(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        Entry<K, V>[] entries = createArrayWithNullKey();
        entries[0] = entry(null, entries[0].getValue());
        return entries;
      }
    
      private Entry<K, V>[] getEntriesMultipleNonNullKeys() {
        Entry<K, V>[] entries = createSamplesArray();
        entries[0] = entry(k1(), v0());
        return entries;
      }
    
      private void expectFirstRemoved(Entry<K, V>[] entries) {
        resetMap(entries);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NbtExceptionTest.java

                    // Default error class
                    Arguments.of(999, 0, "unknown error class: 999"));
        }
    
        /**
         * Test the toString method to ensure it returns the expected string format.
         */
        @Test
        @DisplayName("toString should return a correctly formatted string")
        void testToString() {
            int errorClass = NbtException.ERR_SSN_SRVC;
            int errorCode = NbtException.CONNECTION_REFUSED;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                        return false;
                    }
                }
    
                return true;
            } catch (Exception e) {
                System.err.println("Docker availability check failed: " + e.getMessage());
                return false;
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        /**
         * Helper method to create a valid notification buffer
         */
        private byte[] createValidNotificationBuffer(String fileName, int action) {
            return createNotificationBufferWithNextOffset(fileName, action, 0);
        }
    
        /**
         * Helper method to create a notification buffer with specified next offset
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

                }
                return changePasswordResult;
            }
    
            @Override
            public User load(User user) {
                loadCalls.add(user);
                if (loadThrowsException) {
                    throw new RuntimeException("Load failed");
                }
                return loadResult;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            write(b, 0, b.length);
        }
    
        /**
         * Tests whether the output stream is currently open.
         *
         * @return true if the stream is open, false otherwise
         */
        public boolean isOpen() {
            return file.isOpen();
        }
    
        void ensureOpen() throws IOException {
            // ensure file is open
            if (!file.isOpen()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top