Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 443 for wrap (0.02 seconds)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

                    Arguments.of(loc, new IOException("io failed")));
        }
    
        @ParameterizedTest(name = "connectWrapException wraps {1} into SmbException")
        @MethodSource("wrapExceptions")
        void connectWrapException_wrapsToSmbException(SmbResourceLocatorImpl loc, Exception thrown) throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. docs/bucket/replication/setup_2site_existing_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    set -x
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  3. 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)
  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. 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)
  6. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                }
            }
    
            return result.toString();
        }
    
        /**
         * Generates a URL-safe host string from an InetAddress.
         * For IPv6 addresses, this wraps the address in brackets and compresses it.
         * For IPv4 addresses, returns the address as-is.
         *
         * @param address the InetAddress to format
         * @return the URL-safe host string
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top