Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 317 for wraps (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/naughty-disk_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"io"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // naughtyDisk wraps a POSIX disk and returns programmed errors
    // specified by the developer. The purpose is to simulate errors
    // that are hard to simulate in practice like DiskNotFound.
    // Programmed errors are stored in errors field.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Assert
            assertEquals(HTTP_UNAUTHORIZED, responseCode);
            // Since we don't use NTLM, no reconnection should happen
        }
    
        /**
         * Test that getOutputStream() returns a CacheStream that wraps the underlying stream.
         * @throws IOException
         */
        @Test
        void testGetOutputStreamCachesData() throws IOException {
            // Arrange
            // Enable output mode
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/CacheLoader.java

          return computingFunction.apply(checkNotNull(key));
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a {@code CacheLoader} which wraps {@code loader}, executing calls to {@link
       * CacheLoader#reload} using {@code executor}.
       *
       * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                return baseQuery;
            }
            return baseQuery + " sort:" + sortField;
        }
    
        /**
         * Appends a query string to the query buffer with proper formatting.
         * Handles OR operators and wraps complex queries in parentheses when necessary.
         *
         * @param queryBuf the StringBuilder to append to
         * @param query the query string to append
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext.addQuery(boolQuery -> {
                // Don't add any clauses
            });
    
            // When no clauses are added to a non-MatchAllQuery, it still wraps in BoolQuery
            QueryBuilder result = queryContext.getQueryBuilder();
            assertTrue(result instanceof BoolQueryBuilder);
            BoolQueryBuilder boolResult = (BoolQueryBuilder) result;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

        /**
         * Deletes a dictionary item.
         *
         * @param item the item to delete
         */
        public abstract void delete(T item);
    
        /**
         * A paginated list implementation that wraps another list and provides
         * pagination metadata and functionality.
         *
         * @param <E> the type of elements in this list
         */
        public static class PagingList<E> implements List<E> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. README.md

    ```java
    import org.codelibs.core.exception.*;
    
    // Runtime exception wrappers eliminate try-catch boilerplate
    try {
        // Code that might throw checked exceptions
        return ClassUtil.newInstance(className); // Wraps checked exceptions automatically
    } catch (ClassNotFoundRuntimeException e) {
        // Handle the wrapped exception
        logger.error("Class not found: " + className, e);
    }
    ```
    
    ## 🏗️ Architecture & Design Patterns
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    } catch (Exception e) {
                        // Ignore cleanup exceptions in test
                    }
                }
            }
    
            // The ProtwordsUpdater constructor wraps exceptions in DictionaryException
            // with message "Failed to write a userDict file." - this is covered by
            // the constructor's exception handling implementation
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/QueryResponseList.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Map;
    
    /**
     * A response list that extends List functionality and includes pagination and search metadata.
     * This class wraps search results with pagination information, facet responses, and query statistics.
     * It implements the List interface to provide standard list operations while adding search-specific
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. internal/ioutil/ioutil.go

    	})
    	return err
    }
    
    // DeadlineWriter deadline writer with timeout
    type DeadlineWriter struct {
    	io.WriteCloser
    	timeout time.Duration
    	err     error
    }
    
    // NewDeadlineWriter wraps a writer to make it respect given deadline
    // value per Write(). If there is a blocking write, the returned Writer
    // will return whenever the timer hits (the return values are n=0
    // and err=context.DeadlineExceeded.)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top