Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 3,128 for rint (0.02 seconds)

  1. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            return 16 + 4 + 4 + STRUCTURE_SIZE;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, dst, dstIndex); // NameOffset (from start of context)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

        private final File docRoot;
    
        private final Server server;
    
        private boolean tempDocRoot = false;
    
        public CrawlerWebServer(final int port) {
            this(port, createDocRoot(3));
            tempDocRoot = true;
        }
    
        public CrawlerWebServer(final int port, final File docRoot) {
            this.docRoot = docRoot;
    
            server = new Server(port);
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals(int.class, ServerData.class.getDeclaredField("sflags2").getType());
            assertEquals(int.class, ServerData.class.getDeclaredField("smaxMpxCount").getType());
            assertEquals(int.class, ServerData.class.getDeclaredField("maxBufferSize").getType());
            assertEquals(int.class, ServerData.class.getDeclaredField("sessKey").getType());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         */
    
        private static final NameServiceClient CLIENT = new NameServiceClient();
    
        private static final int DEFAULT_CACHE_POLICY = 30;
        private static final int CACHE_POLICY = Config.getInt("jcifs.smb1.netbios.cachePolicy", DEFAULT_CACHE_POLICY);
        private static final int FOREVER = -1;
        private static int nbnsIndex = 0;
    
        private static final HashMap ADDRESS_CACHE = new HashMap();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @param off
         * @param tot
         * @return
         * @throws IOException
         */
        private int sendFragments(final DcerpcMessage msg, final byte[] out, final NdrBuffer buf) throws IOException {
            int off = 0;
            final int tot = buf.getLength() - 24;
            while (off < tot) {
                int fragSize = tot - off;
                if (24 + fragSize > this.max_xmit) {
                    // need fragementation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            markPos = pos;
        }
    
        public void next() {
            next(1);
        }
    
        public void next(int n) {
            pos += n;
        }
    
        public boolean lookingAt(char c) {
            return input.charAt(pos) == c;
        }
    
        public boolean lookingAt(CharSequence prefix) {
            int i = 0;
            int cpos = pos;
            while (i < prefix.length() && cpos < input.length()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

        getMap()
            .replaceAll(
                (K k, V v) -> {
                  int index = keys().asList().indexOf(k);
                  return values().asList().get(index + 1);
                });
        List<Entry<K, V>> expectedEntries = new ArrayList<>();
        for (Entry<K, V> entry : getSampleEntries()) {
          int index = keys().asList().indexOf(entry.getKey());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

         */
        private static byte[] newBuffer(int length) {
            // initialise with distinct pattern to detect unused trailing bytes
            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/model/BucketExtensions.kt

     */
    fun <T, R> splitIntoBuckets(
        list: LinkedList<T>,
        toIntFunction: (T) -> Int,
        largeElementSplitFunction: (T, Int) -> List<R>,
        smallElementAggregateFunction: (List<T>) -> R,
        expectedBucketNumber: Int,
        maxNumberInBucket: Int,
        noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") },
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            SMBUtil.writeInt2(this.closeFlags, dst, dstIndex + 2);
            dstIndex += 4;
            dstIndex += 4; // Reserved
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top