Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 779 for asStream (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

            final String filename = params.get(ExtractData.RESOURCE_NAME_KEY);
            if (StringUtil.isEmpty(filename) && is == null) {
                throw new MimeTypeException("The filename or input stream is empty.");
            }
    
            final Metadata metadata = new Metadata();
            metadata.add(ExtractData.RESOURCE_NAME_KEY, normalizeFilename(filename));
    
            try {
                if (useFilename) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                if (clazz.isAssignableFrom(List.class)) {
                    return (T) value;
                }
                if (clazz.isAssignableFrom(String[].class)) {
                    return (T) ((List<?>) value).stream().filter(s -> s != null).map(Object::toString).toArray(n -> new String[n]);
                }
    
                if (((List<?>) value).isEmpty()) {
                    return null;
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
        return new SerializedForm(prototype.getAlgorithm(), bytes, toString);
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Hasher that updates a message digest. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/PrimitiveSink.java

    import com.google.common.annotations.Beta;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    
    /**
     * An object which can receive a stream of primitive values.
     *
     * @author Kevin Bourrillion
     * @since 12.0 (in 11.0 as {@code Sink})
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface PrimitiveSink {
      /**
       * Puts a byte into this sink.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

          requestBuilder.header("Connection", "Keep-Alive")
        }
    
        // If we add an "Accept-Encoding: gzip" header field we're responsible for also decompressing
        // the transfer stream.
        var transparentGzip = false
        if (userRequest.header("Accept-Encoding") == null && userRequest.header("Range") == null) {
          transparentGzip = true
          requestBuilder.header("Accept-Encoding", "gzip")
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Collections;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

    import java.io.IOException;
    import java.io.StringReader;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Extracts the main description of a javadoc comment from its raw text, as a stream of characters. See
     * http://download.oracle.com/javase/1.5.0/docs/tooldocs/solaris/javadoc.html#documentationcomments for details.
     *
     * <ul>
     * <li>Removes leading '*' characters.</li>
     * <li>Removes block tags.</li>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  8. docs/erasure/storage-class/README.md

    objectStat, err := object.Stat()
    if err != nil {
     log.Fatalln(err)
    }
    
    n, err := s3Client.PutObject("my-bucketname", "my-objectname", object, objectStat.Size(), minio.PutObjectOptions{ContentType: "application/octet-stream", StorageClass: "REDUCED_REDUNDANCY"})
    if err != nil {
     log.Fatalln(err)
    }
    log.Println("Uploaded", "my-objectname", " of size: ", n, "Successfully.")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import com.google.gson.Gson
    import com.google.gson.reflect.TypeToken
    import com.google.gson.stream.JsonReader
    import gradlebuild.basics.repoRoot
    import gradlebuild.basics.isBundleGroovy4
    import gradlebuild.modules.extension.ExternalModulesExtension
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

            }
        }
    
        private Optional<MavenProject> findOptionalProjectBySelector(
                List<MavenProject> projects, File reactorDirectory, String selector) {
            return projects.stream()
                    .filter(project -> isMatchingProject(project, selector, reactorDirectory))
                    .findFirst();
        }
    
        File getBaseDirectoryFromRequest(MavenExecutionRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top