Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,185 for Given (0.02 sec)

  1. guava/src/com/google/common/io/ByteSink.java

      }
    
      /**
       * Writes all the given bytes to this sink.
       *
       * @throws IOException if an I/O occurs while writing to this sink
       */
      public void write(byte[] bytes) throws IOException {
        checkNotNull(bytes);
    
        try (OutputStream out = openStream()) {
          out.write(bytes);
        }
      }
    
      /**
       * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Gets the search role for a given user.
         *
         * @param name The username.
         * @return The search role.
         */
        public String getSearchRoleByUser(final String name) {
            return createSearchRole(ComponentUtil.getFessConfig().getRoleSearchUserPrefix(), name);
        }
    
        /**
         * Gets the search role for a given group.
         *
         * @param name The group name.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/io/ContentCache.java

         */
        private final byte[] data;
    
        /**
         * The file that is used to cache the content.
         */
        private final File file;
    
        /**
         * Constructs a ContentCache with the given byte array data.
         *
         * @param data the byte array containing the content
         * @throws IllegalArgumentException if data is null
         */
        public ContentCache(final byte[] data) {
            if (data == null) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

        /**
         * Creates a new PasswordBasedExtractor instance.
         */
        public PasswordBasedExtractor() {
            super();
        }
    
        /**
         * Adds a password for files matching the given regular expression pattern.
         * @param regex the regular expression pattern to match against URLs or resource names
         * @param password the password to use for matching files
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MimeMap.java

            if (inLen < 100 || inLen == IN_SIZE) {
                throw new IOException("Error reading jcifs/smb1/util/mime.map resource");
            }
            is.close();
        }
    
        /**
         * Returns the MIME type for the given file extension.
         * If no mapping is found, returns "application/octet-stream" as the default.
         *
         * @param extension the file extension to look up (without the dot)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. internal/grid/grid.go

    // There is no minimum size.
    var GetByteBuffer = func() []byte {
    	b := *internalByteBuffer.Get()
    	return b[:0]
    }
    
    // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity.
    func GetByteBufferCap(wantSz int) []byte {
    	if wantSz < defaultBufferSize {
    		b := GetByteBuffer()[:0]
    		if cap(b) >= wantSz {
    			return b
    		}
    		PutByteBuffer(b)
    	}
    	if wantSz <= maxBufferSize {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.SitemapsHelper;
    
    /**
     * SitemapsRule is a rule implementation that extends RegexRule to determine if a given response data
     * represents a valid sitemap. It uses a SitemapsHelper to validate the response body as an InputStream.
     * The rule checks if the URL matches the defined regex pattern and then validates the content as a sitemap.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

        private samr.SamrSamArray mockSamArray;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeFieldsCorrectly() {
            // Given
            int acctFlags = 123;
    
            // When
            MsrpcEnumerateAliasesInDomain msrpc = new MsrpcEnumerateAliasesInDomain(mockDomainHandle, acctFlags, mockSamArray);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

     */
    @Deprecated(since = "4.0.0")
    public interface PathTranslator {
    
        /**
         * Resolves the specified path against the given base directory. The resolved path will be absolute and uses the
         * platform-specific file separator if a base directory is given. Otherwise, the input path will be returned
         * unaltered.
         *
         * @param path The path to resolve, may be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. cmd/erasure-coding.go

    			if err != nil {
    				// Error conditions should be checked above.
    				panic(err)
    			}
    			enc = e
    		})
    		return enc
    	}
    	return e, err
    }
    
    // EncodeData encodes the given data and returns the erasure-coded data.
    // It returns an error if the erasure coding failed.
    func (e *Erasure) EncodeData(ctx context.Context, data []byte) ([][]byte, error) {
    	if len(data) == 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top