Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for Round (0.12 sec)

  1. cmd/local-locker_test.go

    							if !ok || err != nil {
    								t.Fatal("failed:", err, ok)
    							}
    						}
    					}
    					start := time.Now()
    					l.expireOldLocks(time.Hour)
    					t.Logf("Scan Took: %v. Left: %d/%d", time.Since(start).Round(time.Millisecond), len(l.lockUID), len(l.lockMap))
    					if len(l.lockMap) != locks {
    						t.Fatalf("objects deleted, want %d != got %d", locks, len(l.lockMap))
    					}
    					if len(l.lockUID) != locks*readers {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/DES.java

            right = right << 1 | right >>> 31 & 1;
    
            work = (leftt ^ right) & 0xaaaaaaaa;
            leftt ^= work;
            right ^= work;
            leftt = leftt << 1 | leftt >>> 31 & 1;
    
            for (round = 0; round < 8; ++round) {
                work = right << 28 | right >>> 4;
                work ^= keys[keysi];
                keysi++;
                fval = SP7[work & 0x0000003f];
                fval |= SP5[work >>> 8 & 0x0000003f];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

            return readDirect(b, off, len);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         * Optimized for better performance with larger read sizes and reduced round trips.
         *
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the maximum number of bytes to read
         * @return number of bytes read
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. docs/en/docs/js/termynal.js

            line.textContent = '';
            this.container.appendChild(line);
    
            for (let i = 1; i < chars.length + 1; i++) {
                await this._wait(this.typeDelay);
                const percent = Math.round(i / chars.length * 100);
                line.textContent = `${chars.slice(0, i)} ${percent}%`;
    			if (percent>progressPercent) {
    				break;
    			}
            }
        }
    
        /**
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. cmd/encryption-v1_test.go

    					toRead -= currentPartBytes
    					l += getEncSize(currentPartDareBytes)
    				} else {
    					// current part has the last
    					// byte required
    					lbPartOffset := partOffset + toRead - 1
    
    					// round up the lbPartOffset
    					// to the end of the
    					// corresponding DARE package
    					lbPkgEndOffset := min(lbPartOffset-(lbPartOffset%pkgSz)+pkgSz, v)
    					bytesToDrop := v - lbPkgEndOffset
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/MultiChannelManager.java

        private final AtomicLong totalChannelsCreated = new AtomicLong(0);
    
        /**
         * Load balancing strategies for distributing operations across channels.
         */
        public enum LoadBalancingStrategy {
            /** Round-robin distribution */
            ROUND_ROBIN,
            /** Least connections */
            LEAST_CONNECTIONS,
            /** Random selection */
            RANDOM,
            /** Failover only (use primary until failure) */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should sign and verify round trip for SMB 2.0.2")
            void testSignAndVerifyRoundTripSmb202() throws GeneralSecurityException {
                Smb2SigningDigest digest1 = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

         */
        private boolean isBroadcastAddress(final InetAddress svr) {
            return svr.equals(this.baddr) || svr.getAddress()[3] == (byte) 0xFF;
        }
    
        /**
         * Switches to the next available WINS server in round-robin fashion.
         *
         * @return the next WINS server address, or null if no WINS servers are configured
         */
        protected InetAddress switchWINS() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	mapIfNotPresent := func(m map[string]string, key string, val string) {
    		_, found := m[key]
    		if !found {
    			m[key] = val
    		}
    	}
    
    	_, found := hostAnonymizer[currentURL]
    	if !found {
    		// In distributed setup, anonymized addr = 'poolNum.serverNum'
    		newHost := fmt.Sprintf("pool%d.server%d", poolNum, srvrNum)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    	askDisks := getListQuorum(o.AskDisks, er.setDriveCount)
    	if askDisks == -1 {
    		newDisks := getQuorumDisks(disks, infos, (len(disks)+1)/2)
    		if newDisks != nil {
    			// If we found disks signature in quorum, we proceed to list
    			// from a single drive, shuffling of the drives is subsequently.
    			disks = newDisks
    			askDisks = 1
    		} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top