Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for setOffset (0.08 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                    clearAttributes();
                    termAttr.append(nextToken.word);
                    finalOffset = correctOffset(blkStart + nextToken.endOffset);
                    offsetAttr.setOffset(correctOffset(blkStart + nextToken.startOffset), finalOffset);
                    posIncAttr.setPositionIncrement(nextToken.posInc);
                    return true;
                }
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    	return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}}
    }
    
    // SetOffset sets the offset of the beginning of the zip data within the
    // underlying writer. It should be used when the zip data is appended to an
    // existing file, such as a binary executable.
    // It must be called before any data is written.
    func (w *Writer) SetOffset(n int64) {
    	if w.cw.count != 0 {
    		panic("zip: SetOffset called after data was written")
    	}
    	w.cw.count = n
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/archive/zip/writer_test.go

    		writeTests[1].Data = nil
    	}()
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	existingData := []byte{1, 2, 3, 1, 2, 3, 1, 2, 3}
    	n, _ := buf.Write(existingData)
    	w := NewWriter(buf)
    	w.SetOffset(int64(n))
    
    	for _, wt := range writeTests {
    		testCreate(t, w, &wt)
    	}
    
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// read it back
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/jquery-3.7.1.min.js

    e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=t...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/main/webapp/js/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  6. src/main/webapp/js/jquery-3.7.1.min.js

    e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=t...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    assertEquals(1, list.getCurrentPageNumber());
                    assertEquals(1, list.getCurrentStartRecordNumber());
                    assertEquals(0, list.getOffset());
                    assertEquals(10, list.getPageSize());
                    assertEquals(0, list.getStart());
                    assertEquals("0", list.get(0).get(ID_FIELD));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
            final int pageSize = params.getPageSize();
            final int startPosition = params.getStartPosition();
            if (startPosition * 2 >= windowSize) {
                int offset = params.getOffset();
                if (offset < 0) {
                    offset = 0;
                } else if (offset > windowSize / 2) {
                    offset = windowSize / 2;
                }
                int start = startPosition - offset;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                    return null;
                }
    
                @Override
                public int getStartPosition() {
                    return 0;
                }
    
                @Override
                public int getOffset() {
                    return 0;
                }
    
                @Override
                public int getPageSize() {
                    return 0;
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top