Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 401 for Utility (0.06 sec)

  1. src/main/java/jcifs/util/PathValidator.java

    import java.util.HashSet;
    import java.util.Set;
    import java.util.regex.Pattern;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Path validation utility to prevent directory traversal and other path-based attacks.
     *
     * Features:
     * - Directory traversal prevention
     * - Path normalization
     * - Blacklist/whitelist support
     * - UNC path validation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

    import org.eclipse.aether.repository.WorkspaceReader;
    import org.eclipse.aether.repository.WorkspaceRepository;
    import org.eclipse.aether.util.repository.AuthenticationBuilder;
    
    /**
     * <strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part
     * of the public API. In particular, this class can be changed or deleted without prior notice.
     *
     */
    public class RepositoryUtils {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.exception.ResourceNotFoundRuntimeException;
    import org.codelibs.core.jar.JarFileUtil;
    import org.codelibs.core.net.URLUtil;
    
    /**
     * Utility class for resource handling.
     *
     * @author higa
     */
    public abstract class ResourceUtil {
    
        /**
         * Do not instantiate.
         */
        protected ResourceUtil() {
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharStreams.java

    import java.io.IOException;
    import java.io.Reader;
    import java.io.Writer;
    import java.nio.CharBuffer;
    import java.util.ArrayList;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides utility methods for working with character streams.
     *
     * @author Chris Nokleberg
     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CharStreams {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

    import java.nio.file.Path;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.net.URLUtil;
    import org.codelibs.core.nio.ChannelUtil;
    import org.codelibs.core.timer.TimeoutManager;
    
    /**
     * Utility class for handling {@link File}.
     * <p>
     * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources,
     * always validate them using {@link #isPathSafe(Path, Path)} to prevent path traversal attacks.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/MethodUtil.java

    import java.lang.reflect.Modifier;
    import java.lang.reflect.Type;
    
    import org.codelibs.core.exception.IllegalAccessRuntimeException;
    import org.codelibs.core.exception.InvocationTargetRuntimeException;
    
    /**
     * Utility class for method operations.
     *
     * @author higa
     */
    public abstract class MethodUtil {
    
        /**
         * Do not instantiate.
         */
        protected MethodUtil() {
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.v4.MavenStaxReader;
    
    /**
     * A utility class that analyzes Maven POM files to identify memory usage patterns and potential memory optimizations.
     * This analyzer focuses on identifying duplicate strings and their memory impact across different paths in the POM structure.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectArrays.java

    import java.lang.reflect.Array;
    import java.util.Arrays;
    import java.util.Collection;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to object arrays.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    @SuppressWarnings("AvoidObjectArrays")
    public final class ObjectArrays {
    
      private ObjectArrays() {}
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. ci/official/README.md

    this directory. We are working on it. Please join a TF SIG Build meeting (see:
    bit.ly/tf-sig-build-notes) if you'd like to discuss the future of contributions.
    
    ### Brief System Overview
    
    The top-level scripts and utility scripts should be fairly well-documented. Here
    is a brief explanation of how they tie together:
    
    1.  `envs/*` are lists of variables made with bash syntax. A user must set a
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SIDTest.java

            s.identifier_authority = Arrays.copyOf(identAuth, 6);
            s.sub_authority = Arrays.copyOf(subs, subs.length);
            return s;
        }
    
        @Nested
        @DisplayName("Basic Constructor and Utility Tests")
        class BasicTests {
    
            @Test
            @DisplayName("Textual constructor happy path and toString consistency")
            void testTextualConstructorAndToString() throws Exception {
                // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top