Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1571 - 1580 of 6,020 for new1 (0.02 seconds)

  1. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder#Builder() ImmutableTable.Builder()} constructor.
       */
      public static <R, C, V> Builder<R, C, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Verifies that {@code rowKey}, {@code columnKey} and {@code value} are non-null, and returns a
       * new entry with those values.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/LlmChatResponseTest.java

            final LlmChatResponse response = new LlmChatResponse();
            response.setContent("Test content");
            assertEquals("Test content", response.getContent());
    
            response.setContent("Updated content");
            assertEquals("Updated content", response.getContent());
        }
    
        @Test
        public void test_setFinishReason() {
            final LlmChatResponse response = new LlmChatResponse();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java

                case "one_4m_field":
                    sourceBytes = buildBigExample("huge".repeat(1024 * 1024));
                    break;
                default:
                    throw new IllegalArgumentException("Unknown source [" + source + "]");
            }
            fetchContext = new FetchSourceContext(
                true,
                Strings.splitStringByCommaToArray(includes),
                Strings.splitStringByCommaToArray(excludes)
            );
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 17:34:14 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

            String originalString = "test field with spaces";
            String encoded = BaseEncoding.base64().encode(originalString.getBytes(StandardCharsets.UTF_8));
            String decoded = new String(BaseEncoding.base64().decode(encoded), StandardCharsets.UTF_8);
    
            assertEquals(originalString, decoded);
        }
    
        @Test
        public void test_facet_constants() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      public SafeTreeSet() {
        this(new TreeSet<E>());
      }
    
      public SafeTreeSet(Collection<? extends E> collection) {
        this(new TreeSet<E>(collection));
      }
    
      public SafeTreeSet(Comparator<? super E> comparator) {
        this(new TreeSet<E>(comparator));
      }
    
      public SafeTreeSet(SortedSet<E> set) {
        this(new TreeSet<E>(set));
      }
    
      private SafeTreeSet(NavigableSet<E> delegate) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            // Test with a value within the byte range
            NdrSmall ndrSmall = new NdrSmall(123);
            assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input.");
        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
            NdrSmall ndrSmall = new NdrSmall(255);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/Hexdump.java

         * @return a hexadecimal string representation of the value, padded to the specified size
         */
        public static String toHexString(final int val, final int size) {
            final char[] c = new char[size];
            toHexChars(val, c, 0, size);
            return new String(c);
        }
    
        /**
         * Converts a long value to a hexadecimal string representation with specified padding.
         *
         * @param val the long value to convert to hexadecimal
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            // Test String array
            final String[] arr = new String[] { "a", "b", "c" };
            binary = SerializeUtil.fromObjectToBinary(arr);
            final String[] result = (String[]) SerializeUtil.fromBinaryToObject(binary);
            assertEquals(arr.length, result.length);
            assertEquals(arr[0], result[0]);
    
            // Test ArrayList
            final List<String> list = new ArrayList<>();
            list.add("item1");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            int access = 0x01;
            IOException expectedException = new IOException("Network error");
            // Simulate IOException during RPC call
            doThrow(expectedException).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenDomain.class));
    
            // Act & Assert
            IOException thrown = assertThrows(IOException.class, () -> {
                new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid);
            });
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

            final FileConfigPager pager = copyBeanToNewBean(body, FileConfigPager.class);
            final List<FileConfig> list = fileConfigService.getFileConfigList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top