Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Supplier (0.11 sec)

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

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicLong;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.Supplier;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    
    /**
     * Circuit breaker pattern implementation for SMB operations.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.function.Supplier;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.apache.commons.lang3.LocaleUtils;
    import org.apache.commons.lang3.StringUtils;
    import org.apache.logging.log4j.Level;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SimpleCircuitBreaker.java

        }
    
        /**
         * Execute a callable through the circuit breaker with fallback
         *
         * @param <T> return type
         * @param callable the callable to execute
         * @param fallback fallback supplier if circuit is open
         * @return the result or fallback value
         * @throws Exception if execution fails and no fallback provided
         */
        public <T> T call(Callable<T> callable, Callable<T> fallback) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

     *
     * <p>This class is intended for internal use.</p>
     */
    public final class NtlmUtil {
    
        /**
         *
         */
        private NtlmUtil() {
        }
    
        /**
         * Creates the NTLMv2 response for the supplied information.
         *
         * @param responseKeyNT the NT response key
         * @param serverChallenge the server challenge bytes
         * @param clientChallenge the client challenge bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

                     */
                }
                return true;
            }
            return false;
        }
    
        /**
         * Check whether the password hashes are externally supplied.
         *
         * @return whether the hashes are externally supplied
         */
        public boolean areHashesExternal() {
            return this.hashesExternal;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. cmd/format-erasure.go

    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
            // Name should be formatted as username@domain
            assertEquals("user@DOM", nc.getName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

        private MimeMap mimeMap;
        /** The CSS style for HTML rendering */
        private String style;
        /** The NTLM SSP handler */
        private NtlmSsp ntlmSsp;
        /** Flag indicating if credentials were supplied */
        private boolean credentialsSupplied;
        /** Flag to enable basic authentication */
        private boolean enableBasic;
        /** Flag to allow insecure basic authentication */
        private boolean insecureBasic;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    func (d *dataUsageCache) isCompacted(h dataUsageHash) bool {
    	due, ok := d.Cache[h.Key()]
    	if !ok {
    		return false
    	}
    	return due.Compacted
    }
    
    // findChildrenCopy returns a copy of the children of the supplied hash.
    func (d *dataUsageCache) findChildrenCopy(h dataUsageHash) dataUsageHashMap {
    	ch := d.Cache[h.String()].Children
    	res := make(dataUsageHashMap, len(ch))
    	for k := range ch {
    		res[k] = struct{}{}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

    import jcifs.util.Strings;
    
    /**
     * This class stores and encrypts NTLM user credentials.
     *
     * Contrary to {@link NtlmPasswordAuthentication} this does not cause guest authentication
     * when the "guest" username is supplied. Use {@link AuthenticationType} instead.
     *
     * @author mbechler
     */
    public class NtlmPasswordAuthenticator implements Principal, CredentialsInternal, Serializable, AutoCloseable {
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top