Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 785 for elemLen (0.2 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      public void testRemoveAtIndex_last() {
        runRemoveTest(getNumElements() - 1);
      }
    
      private void runRemoveTest(int index) {
        assertEquals(
            Platform.format("remove(%d) should return the element at index %d", index, index),
            getList().get(index),
            getList().remove(index));
        List<E> expected = copyToList(createSamplesArray());
        expected.remove(index);
        expectContents(expected);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            if (javahome == null) {
                throw new MisconfiguredToolchainException(
                        "Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element.");
            }
            Path normal = Paths.get(javahome.getValue()).normalize();
            if (Files.exists(normal)) {
                jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString());
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

          this.chunks = chunks;
          this.chunkShift = chunkShift;
          this.chunkMask = (1 << chunkShift) - 1;
          int total = 0;
          for (CharSequence element : chunks) {
            total += element.length();
          }
          this.length = total;
        }
    
        @Override
        public int length() {
          return length;
        }
    
        @Override
        public char charAt(int index) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Predicates.java

        return defensiveCopy(Arrays.asList(array));
      }
    
      static <T> List<T> defensiveCopy(Iterable<T> iterable) {
        ArrayList<T> list = new ArrayList<>();
        for (T element : iterable) {
          list.add(checkNotNull(element));
        }
        return list;
      }
    
      private Predicates() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // The first element should be from this test method
            StackTraceElement firstElement = stackTrace[0];
            assertEquals("test_stackTrace", firstElement.getMethodName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the first stack trace element is from this test method
            StackTraceElement firstElement = exception.getStackTrace()[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        return (SortedSet<V>) super.replaceValues(key, values);
      }
    
      /**
       * Returns a map view that associates each key with the corresponding values in the multimap.
       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue} on its entries, {@code put}, or {@code putAll}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/server-sent-events.md

    Importieren Sie `EventSourceResponse` aus `fastapi.sse`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Jedes mit `yield` zurückgegebene Element wird als JSON kodiert und im Feld `data:` eines SSE-Events gesendet.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  9. cmd/xl-storage-format-utils.go

    //
    // Note: Only the scanner requires fivs.Versions to have exclusively non-free versions. This is used while enforcing NewerNoncurrentVersions lifecycle element.
    func getFileInfoVersions(xlMetaBuf []byte, volume, path string, inclFreeVersions bool) (FileInfoVersions, error) {
    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, true)
    	if err != nil {
    		return fivs, err
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          V v = ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).samples().e0().getValue();
          List<Entry<K, V>> entries = new ArrayList<>();
          for (K element : insertionOrder) {
            entries.add(mapEntry(element, v));
          }
    
          List<K> keys = new ArrayList<>();
          for (Entry<K, V> entry : mapGenerator.order(entries)) {
            keys.add(entry.getKey());
          }
          return keys;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
Back to Top