Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 911 - 920 of 3,010 for rint (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. .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)
  7. 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)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        /**
         * Mock HttpURLConnection that simulates a HEAD request with configurable status code.
         */
        class HeadMockHttpURLConnection extends HttpURLConnection {
            private final int statusCode;
    
            HeadMockHttpURLConnection(URL u, int statusCode) {
                super(u);
                this.statusCode = statusCode;
                this.method = "HEAD";
            }
    
            @Override
            public void disconnect() {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/PreauthIntegrityService.java

        // Hash algorithm constants
        public static final int HASH_ALGO_SHA512 = PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512;
    
        // Default configuration
        private static final int DEFAULT_HASH_ALGORITHM = HASH_ALGO_SHA512;
        private static final int SALT_SIZE = 32; // 32 bytes as per SMB 3.1.1 spec
        private static final int HASH_SIZE_SHA512 = 64; // SHA-512 produces 64-byte hashes
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final CrawlerWebServer server = new CrawlerWebServer(0);
            server.start();
    
            final String url = "http://localhost:" + server.getPort() + "/";
            try {
                final int maxCount = 50;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
                file.delete();
                file.mkdirs();
                file.deleteOnExit();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top