Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for elemLen (0.04 sec)

  1. callbacks/associations.go

    					appendToElems(db.Statement.ReflectValue)
    				}
    
    				// optimize elems of reflect value length
    				if elemLen := elems.Len(); elemLen > 0 {
    					if v, ok := selectColumns[rel.Name+".*"]; !ok || v {
    						saveAssociations(db, rel, distinctElems, selectColumns, restricted, nil)
    					}
    
    					for i := 0; i < elemLen; i++ {
    						appendToJoins(objs[i], elems.Index(i))
    					}
    				}
    
    				if joins.Len() > 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          super.add(element);
          return this;
        }
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    .reduce(false, Boolean::logicalOr);
        }
    
        private static class BuildContainer {
            final Element element;
            final String sectionName;
    
            BuildContainer(Element element, String sectionName) {
                this.element = element;
                this.sectionName = sectionName;
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/xml/DomUtil.java

            return new String(buf);
        }
    
        /**
         * Converts an {@link Element} to a string.
         *
         * @param element
         *            The element. Must not be {@literal null}.
         * @return The converted string.
         */
        public static String toString(final Element element) {
            assertArgumentNotNull("element", element);
    
            final StringBuilder buf = new StringBuilder(1000);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            Element root = editor.root();
            if (root == null) {
                return;
            }
    
            // Convert modules element to subprojects
            Element modulesElement = root.child(MODULES).orElse(null);
            if (modulesElement != null) {
                // domtrip makes this much simpler - just change the element name
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            Element root = pomDocument.root();
    
            // Check if this POM has a parent
            Element parentElement = root.child(PARENT).orElse(null);
            if (parentElement == null) {
                return false;
            }
    
            // Apply full inference (parent element trimming based on relativePath)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            assertTrue(iterator.hasNext(), "Should have first element");
            SmbResource first = iterator.next();
            assertNotNull(first, "First element should not be null");
            assertEquals("file1.txt", first.getName());
    
            assertTrue(iterator.hasNext(), "Should have second element");
            SmbResource second = iterator.next();
            assertNotNull(second, "Second element should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableList.java

          }
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          checkNotNull(element);
          ensureRoomFor(1);
          contents[size++] = element;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

          return unfiltered.add(element, occurrences);
        }
    
        @Override
        public int remove(@Nullable Object element, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(element);
          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multisets.java

          return unfiltered.add(element, occurrences);
        }
    
        @Override
        public int remove(@Nullable Object element, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(element);
          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.2K bytes
    - Viewed (0)
Back to top