Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3831 - 3840 of 4,168 for get (0.02 seconds)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

      }
    
      public void testSizeIfKnown() throws IOException {
        Optional<Long> sizeIfKnown = source.sizeIfKnown();
        if (sizeIfKnown.isPresent()) {
          assertEquals(expected.length, (long) sizeIfKnown.get());
        }
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(
            source.contentEquals(
                new ByteSource() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            try {
                Field outputBufferField = TransTransactNamedPipeResponse.class.getDeclaredField("outputBuffer");
                outputBufferField.setAccessible(true);
                byte[] actualBuffer = (byte[]) outputBufferField.get(response);
                assertSame(outputBuffer, actualBuffer);
            } catch (Exception e) {
                fail("Failed to access outputBuffer field: " + e.getMessage());
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            assertNotNull(authorizations, "The authorizations list should not be null.");
            assertEquals(1, authorizations.size(), "The authorizations list should contain one element.");
            assertEquals(mockAuthData, authorizations.get(0), "The authorization element should be the mocked object.");
        }
    
        /**
         * Test constructor with a malformed ASN.1 token.
         */
        @Test
        void testConstructor_MalformedToken() {
            // 1. GIVEN
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/LlmChatRequest.java

         *
         * @param key the parameter key
         * @return the parameter value, or {@code null} if not set
         */
        public String getExtraParam(final String key) {
            return extraParams != null ? extraParams.get(key) : null;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

                }
            }
    
            for (final String f : langFields) {
                final String lf = f + "_" + language;
                if (doc.containsKey(f) && !doc.containsKey(lf)) {
                    doc.put(lf, doc.get(f));
                    if (logger.isDebugEnabled()) {
                        logger.debug("add {} field", lf);
                    }
                }
            }
        }
    
        /**
         * Detects the language of a text.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

            classLoader.loadClass(AggregateFutureState.class.getName());
        Field helperField = aggregateFutureStateClass.getDeclaredField("ATOMIC_HELPER");
        helperField.setAccessible(true);
        assertThat(helperField.get(null).getClass().getSimpleName()).isEqualTo(expectedHelperClassName);
      }
    
      private static ClassLoader getClassLoader(Set<String> blocklist) {
        String concurrentPackage = SettableFuture.class.getPackage().getName();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/Handler.java

        }
    
        private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException {
            synchronized (PROTOCOL_HANDLERS) {
                URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol);
                if (handler != null) {
                    return handler;
                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

          params[1] = "";
          if (params.length > 2) {
            // fill in the rest of the array with arbitrary instances
            for (int i = 2; i < params.length; i++) {
              params[i] = ArbitraryInstances.get(sig.get(i));
            }
          }
        }
        return params;
      }
    
      private static final ImmutableList<Class<?>> POSSIBLE_PARAM_TYPES =
          ImmutableList.of(char.class, int.class, long.class, Object.class);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/PreconditionsTest.java

          params[1] = "";
          if (params.length > 2) {
            // fill in the rest of the array with arbitrary instances
            for (int i = 2; i < params.length; i++) {
              params[i] = ArbitraryInstances.get(sig.get(i));
            }
          }
        }
        return params;
      }
    
      private static final ImmutableList<Class<?>> POSSIBLE_PARAM_TYPES =
          ImmutableList.of(char.class, int.class, long.class, Object.class);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                cb.query().addOrderBy_SortOrder_Asc();
            });
            if (list.isEmpty()) {
                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        /**
         * Stores a file configuration in the database.
         * This method encrypts the configuration parameters before saving and
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top