Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 629 for Pack (0.02 seconds)

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

        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_twoElements() {
        List<String> list = Lists.newArrayList("mary", "bob");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
            });
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
            return asEditHtml();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/internal/Finalizer.java

        try {
          return Thread.class.getConstructor(
              ThreadGroup.class, Runnable.class, String.class, long.class, boolean.class);
        } catch (Throwable t) {
          // Probably pre Java 9. We'll fall back to Thread.inheritableThreadLocals.
          return null;
        }
      }
    
      private static boolean isAndroid() {
        return requireNonNull(System.getProperty("java.runtime.name", "")).contains("Android");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            // If the build section is present and the project directory is non-null, we should make
            // sure interpolation of the directories below uses translated paths.
            // Afterward, we'll double back and translate any paths that weren't covered during interpolation via the
            // code below...
            translatedPrefixes.add("build.directory");
            translatedPrefixes.add("build.outputDirectory");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. docs/en/docs/deployment/server-workers.md

    # Server Workers - Uvicorn with Workers { #server-workers-uvicorn-with-workers }
    
    Let's check back those deployment concepts from before:
    
    * Security - HTTPS
    * Running on startup
    * Restarts
    * **Replication (the number of processes running)**
    * Memory
    * Previous steps before starting
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  6. fastapi/encoders.py

        ] = None,
        sqlalchemy_safe: Annotated[
            bool,
            Doc(
                """
                Exclude from the output any fields that start with the name `_sa`.
    
                This is mainly a hack for compatibility with SQLAlchemy objects, they
                store internal SQLAlchemy-specific state in attributes named with `_sa`,
                and those objects can't (and shouldn't be) serialized to JSON.
                """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            item.setNewInput("word");
            assertEquals("word", item.toLineString());
        }
    
        @Test
        public void test_toLineString_withNullNewInput() {
            // Test toLineString when newInput is set back to null
            ProtwordsItem item = new ProtwordsItem(1, "originalword");
            item.setNewInput("tempword");
            assertEquals("tempword", item.toLineString());
    
            item.setNewInput(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                this.encryptionKey = null;
                this.decryptionKey = null;
    
                log.debug("Keys stored in SecureKeyManager for session: {}", sessionId);
            } else {
                // Fall back to traditional in-memory storage
                this.encryptionKey = encryptionKey.clone();
                this.decryptionKey = decryptionKey.clone();
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

      public void testCreateParentDirectories_symlinkParentExists() throws IOException {
        /*
         * We use a fake filesystem to sidestep:
         *
         * - flaky problems with Windows (b/136041958)
         *
         * - the lack of support for symlinks in the default filesystem under Android's desugared
         *   java.nio.file
         */
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path symlink = fs.getPath("linkToDir");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

                cells = rs;
                init = true;
              }
            } finally {
              busy = 0;
            }
            if (init) break;
          } else if (casBase(v = base, fn(v, x))) break; // Fall back on using base
        }
      }
    
      /** Sets base and all cells to the given value. */
      final void internalReset(long initialValue) {
        Cell[] as = cells;
        base = initialValue;
        if (as != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top