Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 2,125 for convert (0.09 seconds)

  1. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals((Integer) 2, converter.convert("two"));
        assertThrows(IllegalArgumentException.class, () -> converter.convert("three"));
    
        biMap.put("three", 3);
    
        assertEquals((Integer) 1, converter.convert("one"));
        assertEquals((Integer) 2, converter.convert("two"));
        assertEquals((Integer) 3, converter.convert("three"));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

        }
    
        /**
         * Creates an EditBody from a BoostDocumentRule entity for API responses.
         *
         * @param entity the BoostDocumentRule entity to convert
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final BoostDocumentRule entity) {
            final EditBody form = new EditBody();
            copyBeanToBean(entity, form, CopyOptions::excludeNull);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

        }
    
        /**
         * Creates an edit body from a group entity for API responses.
         *
         * @param entity the group entity to convert
         * @return edit body containing the entity data
         */
        protected EditBody createEditBody(final Group entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

        }
    
        /**
         * Creates an EditBody from a DataConfig entity for API responses.
         * Handles permission and virtual host encoding.
         *
         * @param entity the DataConfig entity to convert
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final DataConfig entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
     *   <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert that
     *       service to a {@link ListeningExecutorService}, usually by calling {@link
     *       MoreExecutors#listeningDecorator(java.util.concurrent.ExecutorService)
     *       MoreExecutors.listeningDecorator}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        }
    
        @Test
        @DisplayName("Should parse Type 1 message from byte array")
        void testType1MessageFromBytes() throws IOException {
            // Given - Create a Type 1 message and convert to bytes
            Type1Message original = new Type1Message(mockContext);
            byte[] messageBytes = original.toByteArray();
    
            // When
            Type1Message parsed = new Type1Message(messageBytes);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. cmd/listen-notification-handlers.go

    	mergeCh := make(chan []byte, globalAPIConfig.getRequestsPoolCapacity()*len(globalEndpoints.Hostnames()))
    	localCh := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity())
    
    	// Convert local messages to JSON and send to mergeCh
    	go func() {
    		buf := bytes.NewBuffer(grid.GetByteBuffer()[:0])
    		enc := json.NewEncoder(buf)
    		tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    		for {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

                    });
        }
    
        /**
         * Creates an EditBody from a StemmerOverrideItem entity for API responses.
         *
         * @param entity the StemmerOverrideItem entity to convert
         * @param dictId the dictionary ID
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final StemmerOverrideItem entity, final String dictId) {
            final EditBody body = new EditBody();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                        && field.getType() == String.class && field.getName().startsWith("LABELS_")) {
    
                    field.setAccessible(true);
                    String value = (String) field.get(null);
    
                    // Convert field name to expected value
                    String fieldNamePart = field.getName().substring("LABELS_".length());
                    String expectedValuePart = fieldNamePart.toLowerCase()
                            .replace("_", ".")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
     *   <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert that
     *       service to a {@link ListeningExecutorService}, usually by calling {@link
     *       MoreExecutors#listeningDecorator(java.util.concurrent.ExecutorService)
     *       MoreExecutors.listeningDecorator}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8K bytes
    - Click Count (0)
Back to Top