Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 5,397 for returns (0.04 sec)

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

              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertEquals(0, (int) iter.peek());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    func (fi headerFileInfo) ModTime() time.Time { return fi.h.ModTime }
    func (fi headerFileInfo) Sys() any           { return fi.h }
    
    // Name returns the base name of the file.
    func (fi headerFileInfo) Name() string {
    	if fi.IsDir() {
    		return path.Base(path.Clean(fi.h.Name))
    	}
    	return path.Base(fi.h.Name)
    }
    
    // Mode returns the permission and mode bits for the headerFileInfo.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

        minIntermediates: Int,
      ): Boolean {
        if (toVerify.issuerDN != signingCert.subjectDN) {
          return false
        }
        if (signingCert.basicConstraints < minIntermediates) {
          return false // The signer can't have this many intermediates beneath it.
        }
        return try {
          toVerify.verify(signingCert.publicKey)
          true
        } catch (verifyFailed: GeneralSecurityException) {
          false
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. cmd/user-provider-utils.go

    				return "", errNoSuchUser
    			}
    		}
    		return user, nil
    	case madmin.LDAPProvider:
    		if globalIAMSys.GetUsersSysType() != LDAPUsersSysType {
    			return "", errIAMActionNotAllowed
    		}
    		res, err := globalIAMSys.LDAPConfig.GetValidatedDNForUsername(user)
    		if res == nil {
    			err = errNoSuchUser
    		}
    		if err != nil {
    			if validate {
    				return "", err
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append returns the same buffer instance
        public void test_append_returnsSameBuffer() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test";
    
            StringBuilder result = monitorTarget.append(buf, "key", supplier);
            assertSame(buf, result);
        }
    
        // Test appendTimestamp returns the same buffer instance
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

          writeUtf8CodePoint(codePoint)
        }
        i += Character.charCount(codePoint)
      }
    }
    
    /**
     * Returns a substring of `input` on the range `[pos..limit)` with the following
     * transformations:
     *
     *  * Tabs, newlines, form feeds and carriage returns are skipped.
     *
     *  * In queries, ' ' is encoded to '+' and '+' is encoded to "%2B".
     *
     *  * Characters in `encodeSet` are percent-encoded.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/CharEscaper.java

        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
            return escapeSlow(string, index);
          }
        }
        return string;
      }
    
      /**
       * Returns the escaped form of the given character, or {@code null} if this character does not
       * need to be escaped. If an empty array is returned, this effectively strips the input character
       * from the resulting text.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            AtomicInteger calls = new AtomicInteger();
            doAnswer(inv -> {
                int len = inv.getArgument(2);
                // First call returns len-1, second returns 1
                return calls.getAndIncrement() == 0 ? Math.max(1, len - 1) : 1;
            }).when(raf).read(any(byte[].class), anyInt(), anyInt());
            byte[] dst = new byte[4];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

      private TestingExecutors() {}
    
      /**
       * Returns a {@link ScheduledExecutorService} that never executes anything.
       *
       * <p>The {@code shutdownNow} method of the returned executor always returns an empty list despite
       * the fact that everything is still technically awaiting execution. The {@code getDelay} method
       * of any {@link ScheduledFuture} returned by the executor will always return the max long value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EvictingQueue.java

      }
    
      /**
       * Creates and returns a new evicting queue that will hold up to {@code maxSize} elements.
       *
       * <p>When {@code maxSize} is zero, elements will be evicted immediately after being added to the
       * queue.
       */
      public static <E> EvictingQueue<E> create(int maxSize) {
        return new EvictingQueue<>(maxSize);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top