Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for getRIndex (0.15 sec)

  1. callbacks.go

    		if c.before != "" { // if defined before callback
    			if c.before == "*" && len(sorted) > 0 {
    				if curIdx := getRIndex(sorted, c.name); curIdx == -1 {
    					sorted = append([]string{c.name}, sorted...)
    				}
    			} else if sortedIdx := getRIndex(sorted, c.before); sortedIdx != -1 {
    				if curIdx := getRIndex(sorted, c.name); curIdx == -1 {
    					// if before callback already sorted, append current callback just after it
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            assertThat(indexed1.getIndex(), is(0));
            assertThat(indexed1.getElement(), is("aaa"));
    
            final Indexed<String> indexed2 = it.next();
            assertThat(indexed2.getIndex(), is(1));
            assertThat(indexed2.getElement(), is("bbb"));
    
            final Indexed<String> indexed3 = it.next();
            assertThat(indexed3.getIndex(), is(2));
            assertThat(indexed3.getElement(), is("ccc"));
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        }
    
    
        @Override
        public void encode ( NdrBuffer buf ) throws NdrException {
            int start = buf.getIndex();
            int alloc_hint_index = 0;
    
            buf.advance(16); /* momentarily skip header */
            if ( this.ptype == 0 ) { /* Request */
                alloc_hint_index = buf.getIndex();
                buf.enc_ndr_long(0); /* momentarily skip alloc hint */
                buf.enc_ndr_short(0); /* context id */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            call_id = buf.dec_ndr_long();
        }
        public void encode(NdrBuffer buf) throws NdrException {
            int start = buf.getIndex();
            int alloc_hint_index = 0;
    
            buf.advance(16); /* momentarily skip header */
            if (ptype == 0) { /* Request */
                alloc_hint_index = buf.getIndex();
                buf.enc_ndr_long(0); /* momentarily skip alloc hint */
                buf.enc_ndr_short(0); /* context id */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/NestedExceptionPlaceholder.java

        NestedExceptionPlaceholder(Kind kind, int index) {
            this.kind = kind;
            this.index = index;
        }
    
        public Kind getKind() {
            return kind;
        }
    
        public int getIndex() {
            return index;
        }
    
        enum Kind {
            cause,
            suppressed
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * <pre>
     * import static org.codelibs.core.collection.IndexedIterator.*;
     * import static org.codelibs.core.io.LineIterator.*;
     *
     * BufferedReader reader = ...;
     * for (Indexed&lt;String%gt; indexed : indexed(iterable(reader))) {
     *     System.out.println(indexed.getIndex());
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java

                    return -1;
                } else if (!node1.isPriority() && node2.isPriority()) {
                    return 1;
                }
                if (node1.getIndex() > node2.getIndex()) {
                    return 1;
                } else if (node1.getIndex() < node2.getIndex()) {
                    return -1;
                }
                return NodeComparator.INSTANCE.compare(node1, node2);
            }
        };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 28 21:49:39 UTC 2022
    - 28.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/Indexed.java

         * 要素を返します。
         *
         * @return 要素
         */
        public T getElement() {
            return element;
        }
    
        /**
         * インデックスを返します。
         *
         * @return インデックス
         */
        public int getIndex() {
            return index;
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            this.index = index;
            this.tookMs = tookMs;
            this.words = words;
            this.num = words.size();
            this.total = total;
            this.items = items;
        }
    
        public String getIndex() {
            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

            this.index = index;
            this.tookMs = tookMs;
            this.words = words;
            this.num = words.size();
            this.total = total;
            this.items = items;
        }
    
        public String getIndex() {
            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top