Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2271 - 2280 of 3,958 for strike (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

     */
    @NullUnmarked
    public class ForwardingConcurrentMapTest extends TestCase {
    
      private static class TestMap extends ForwardingConcurrentMap<String, Integer> {
        final ConcurrentMap<String, Integer> delegate = new ConcurrentHashMap<>();
    
        @Override
        protected ConcurrentMap<String, Integer> delegate() {
          return delegate;
        }
      }
    
      public void testPutIfAbsent() {
        TestMap map = new TestMap();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                }
    
                if (name.startsWith("!")) {
                    reverseName = true;
                    name = name.substring(1);
                }
    
                String sysValue = properties.getProperty(name);
    
                String propValue = property.getValue();
                if (propValue != null && !propValue.isEmpty()) {
                    boolean reverseValue = false;
                    if (propValue.startsWith("!")) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. internal/lock/lock_windows_test.go

    	// function we're testing, and it's not actually being used to
    	// do a system call)
    	veryLong := "l" + strings.Repeat("o", 248) + "ng"
    	for _, test := range []struct{ in, want string }{
    		// Short; unchanged:
    		{`C:\short.txt`, `C:\short.txt`},
    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            int sid = 4660; // 0x1234, printed as decimal
            int resumeKey = 0x01020304; // shows only low 4 hex digits per implementation
            String name = "name";
            Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, name);
    
            // When
            String s = next.toString();
    
            // Then
            assertTrue(s.startsWith("Trans2FindNext2["), "toString should start with class name");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            listeners.add(listener);
    
            return this;
        }
    
        public Map<String, Artifact> getManagedVersionMap() {
            return managedVersionMap;
        }
    
        public ArtifactResolutionRequest setManagedVersionMap(Map<String, Artifact> managedVersionMap) {
            this.managedVersionMap = managedVersionMap;
    
            return this;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. cmd/http-tracer.go

    // redact LDAP password if part of string
    func redactLDAPPwd(s string) string {
    	parts := ldapPwdRegex.FindStringSubmatch(s)
    	if len(parts) > 3 {
    		return parts[1] + "LDAPPassword=*REDACTED*" + parts[3]
    	}
    	return s
    }
    
    // getOpName sanitizes the operation name for mc
    func getOpName(name string) (op string) {
    	op = strings.TrimPrefix(name, "github.com/minio/minio/cmd.")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SynchronizedDequeTest extends TestCase {
    
      protected Deque<String> create() {
        TestDeque<String> inner = new TestDeque<>();
        Deque<String> outer = Synchronized.deque(inner, inner.mutex);
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       *
       * <p>The default implementation returns a new {@link Executor} that sets the name of its threads
       * to the string returned by {@link #serviceName}
       */
      protected Executor executor() {
        return command -> newThread(serviceName(), command).start();
      }
    
      @Override
      public String toString() {
        return serviceName() + " [" + state() + "]";
      }
    
      @Override
      public final boolean isRunning() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/misc/Base64Util.java

         * </p>
         *
         * @param inData
         *            The data to encode
         * @return The encoded data, or an empty string if the input is null or empty
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
                return "";
            }
            return Base64.getEncoder().encodeToString(inData);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

          val extensions =
            try {
              X509TrustManagerExtensions(trustManager)
            } catch (iae: IllegalArgumentException) {
              // X509TrustManagerExtensions checks for checkServerTrusted(X509Certificate[], String, String)
              null
            }
    
          return when {
            extensions != null -> AndroidCertificateChainCleaner(trustManager, extensions)
            else -> null
          }
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top