Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 3,410 for but (0.01 seconds)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

        if (slice && bytes.length > 0) {
          // test a random slice() of the ByteSource
          Random random = new Random();
          byte[] expected = factory.getExpected(bytes);
          // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty
          int off = expected.length == 0 ? 0 : random.nextInt(expected.length);
          int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/CharStreams.java

      // defaults
    
      /**
       * Copies all characters between the {@link Reader} and {@link StringBuilder} objects. Does not
       * close or flush the reader.
       *
       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. tests/lru_test.go

    	if _, ok := lru.Get("key1"); ok {
    		t.Errorf("Expected key1 to be removed, but it still exists")
    	}
    }
    
    func TestLRU_Add_UnlimitedSize_NoEviction(t *testing.T) {
    	lru := lru.NewLRU[string, int](0, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    	if _, ok := lru.Get("key1"); !ok {
    		t.Errorf("Expected key1 to exist, but it was evicted")
    	}
    }
    
    func TestLRU_Add_Eviction(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

            if (loginCredential == null) {
                if (ssoManager.available()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("SSO is available but no user found.");
                    }
                    saveError(messages -> messages.addErrorsSsoLoginError(GLOBAL));
                }
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. docs/en/docs/fastapi-cli.md

    The `fastapi` CLI will try to detect automatically the FastAPI app to run, assuming it's an object called `app` in a file `main.py` (or a couple other variants).
    
    But you can configure explicitly the app to use.
    
    ## Configure the app `entrypoint` in `pyproject.toml` { #configure-the-app-entrypoint-in-pyproject-toml }
    
    You can configure where your app is located in a `pyproject.toml` file like:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. docs/features/https.md

     * `MODERN_TLS` is a secure configuration that connects to modern HTTPS servers.
     * `COMPATIBLE_TLS` is a secure configuration that connects to secure–but not current–HTTPS servers.
     * `CLEARTEXT` is an insecure configuration that is used for `http://` URLs.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    @GwtCompatible
    @NullMarked
    public abstract class MapInterfaceTest<K extends @Nullable Object, V extends @Nullable Object>
        extends TestCase {
    
      /** A key type that is not assignable to any classes but Object. */
      private static final class IncompatibleKeyType {
        @Override
        public String toString() {
          return "IncompatibleKeyType";
        }
      }
    
      protected final boolean supportsPut;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  8. .typos.toml

    "thr" = "thr"
    "toi" = "toi"
    
    [type.go]
    extend-ignore-identifiers-re = [
        # Variants of `typ` used to mean `type` in golang as it is otherwise a
        # keyword - some of these (like typ1 -> type1) can be fixed, but probably
        # not worth the effort.
        "[tT]yp[0-9]*",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. cmd/metacache-entries.go

    // filterObjectsOnly will remove prefix directories.
    // Order is preserved, but the underlying slice is modified.
    func (m *metaCacheEntriesSorted) filterObjectsOnly() {
    	dst := m.o[:0]
    	for _, o := range m.o {
    		if !o.isDir() {
    			dst = append(dst, o)
    		}
    	}
    	m.o = dst
    }
    
    // filterPrefixesOnly will remove objects.
    // Order is preserved, but the underlying slice is modified.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
Back to Top