Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for addPart (0.05 sec)

  1. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        public void testRemove() throws Exception {
            list.addLast(null);
            list.addLast("1");
            list.addLast("2");
            assertThat(list.remove("3"), is(not(true)));
            assertThat(list.remove("1"), is(true));
            assertThat(list.remove(null), is(true));
            list.clear();
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            list.remove(1);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. clause/expression.go

    						if rv.Len() == 0 {
    							builder.AddVar(builder, nil)
    						} else {
    							for i := 0; i < rv.Len(); i++ {
    								if i > 0 {
    									builder.WriteByte(',')
    								}
    								builder.AddVar(builder, rv.Index(i).Interface())
    							}
    						}
    					default:
    						builder.AddVar(builder, expr.Vars[idx])
    					}
    				}
    			} else {
    				builder.AddVar(builder, expr.Vars[idx])
    			}
    
    			idx++
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeTraverser.java

          this.stack = new ArrayDeque<>();
          stack.addLast(expand(root));
        }
    
        @Override
        @CheckForNull
        protected T computeNext() {
          while (!stack.isEmpty()) {
            PostOrderNode<T> top = stack.getLast();
            if (top.childIterator.hasNext()) {
              T child = top.childIterator.next();
              stack.addLast(expand(child));
            } else {
              stack.removeLast();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        @Override
        public void addFirst(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.addFirst(e);
        }
    
        @Override
        public void addLast(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.addLast(e);
        }
    
        @Override
        public boolean offerFirst(E e) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.offerFirst(e);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. clause/limit.go

    func (limit Limit) Build(builder Builder) {
    	if limit.Limit != nil && *limit.Limit >= 0 {
    		builder.WriteString("LIMIT ")
    		builder.AddVar(builder, *limit.Limit)
    	}
    	if limit.Offset > 0 {
    		if limit.Limit != nil && *limit.Limit >= 0 {
    			builder.WriteByte(' ')
    		}
    		builder.WriteString("OFFSET ")
    		builder.AddVar(builder, limit.Offset)
    	}
    }
    
    // MergeClause merge order by clauses
    func (limit Limit) MergeClause(clause *Clause) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 942 bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingDeque.java

      @Override
      protected abstract Deque<E> delegate();
    
      @Override
      public void addFirst(@ParametricNullness E e) {
        delegate().addFirst(e);
      }
    
      @Override
      public void addLast(@ParametricNullness E e) {
        delegate().addLast(e);
      }
    
      @Override
      public Iterator<E> descendingIterator() {
        return delegate().descendingIterator();
      }
    
      @Override
      @ParametricNullness
      public E getFirst() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            int num = 10000;
    
            addDocument(indexName, client, num);
    
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
            reader.setScrollSize(1000);
            reader.addSort(SortBuilders.fieldSort("field2"));
            int count = 0;
            int prev = -1;
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. clause/clause.go

    type Writer interface {
    	WriteByte(byte) error
    	WriteString(string) (int, error)
    }
    
    // Builder builder interface
    type Builder interface {
    	Writer
    	WriteQuoted(field interface{})
    	AddVar(Writer, ...interface{})
    	AddError(error) error
    }
    
    // Clause
    type Clause struct {
    	Name                string // WHERE
    	BeforeExpression    Expression
    	AfterNameExpression Expression
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            }
            this.limitOfDocumentSize = limitOfDocumentSize;
        }
    
        public void setQuery(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
        }
    
        public void addSort(final SortBuilder<?> sortBuilder) {
            sortList.add(sortBuilder);
        }
    
        public void setLimitDocNumPercentage(final String limitPercentage) {
            if (logger.isInfoEnabled()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. clause/values.go

    		}
    		builder.WriteByte(')')
    
    		builder.WriteString(" VALUES ")
    
    		for idx, value := range values.Values {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteByte('(')
    			builder.AddVar(builder, value...)
    			builder.WriteByte(')')
    		}
    	} else {
    		builder.WriteString("DEFAULT VALUES")
    	}
    }
    
    // MergeClause merge values clauses
    func (values Values) MergeClause(clause *Clause) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun May 24 03:35:19 UTC 2020
    - 849 bytes
    - Viewed (0)
Back to top