Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for topLocks (0.07 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

        }
    
        @Benchmark
        public TopDocs benchmark() throws IOException {
            TopDocs topDocs = new IndexSearcher(reader).search(scriptScoreQuery(factory), 10);
            if (topDocs.scoreDocs[0].score != 1_000_000) {
                throw new AssertionError("Expected score to be 1,000,000 but was [" + topDocs.scoreDocs[0].score + "]");
            }
            return topDocs;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  2. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

                QuerySearchResult result = new QuerySearchResult();
                result.setShardIndex(i);
                result.from(0);
                result.size(0);
                result.topDocs(
                    new TopDocsAndMaxScore(
                        new TopDocs(new TotalHits(1000, TotalHits.Relation.GREATER_THAN_OR_EQUAL_TO), new ScoreDoc[0]),
                        Float.NaN
                    ),
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 COM_LOCKING_ANDX command implementation.
     *
     * This command locks or unlocks byte ranges within a file. It can also
     * be used to break oplocks and change oplock levels.
     *
     * @author mbechler
     */
    public class SmbComLockingAndX extends AndXServerMessageBlock {
    
        private int fid;
        private byte typeOfLock;
        private byte newOpLockLevel;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share flag indicating that access-based directory enumeration is enabled.
         */
        public static final int SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM = 0x800;
        /**
        * Share flag indicating that level 2 oplocks are forced on this share.
        */
        public static final int SMB2_SHAREFLAG_FORCE_LEVEL2_OPLOCK = 0x1000;
        /**
         * Share flag indicating that hash generation V1 is enabled for this share.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        /**
         * Reads a byte of data from this input stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if (read(tmp, 0, 1) == -1) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top