Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,705 for math (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            ServerMessageBlock.writeTime(time, buffer, 0);
            long readTime = ServerMessageBlock.readTime(buffer, 0);
            // Precision may be lost, so check within a second
            assertTrue(Math.abs(time - readTime) < 1000);
        }
    
        @Test
        void testTimeReadWriteZero() {
            byte[] buffer = new byte[8];
            ServerMessageBlock.writeTime(0, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ResourceManager.java

                    holder.resourceType);
    
            if (holder.allocationStackTrace != null) {
                StringBuilder sb = new StringBuilder("Allocation stack trace:\n");
                for (int i = 0; i < Math.min(10, holder.allocationStackTrace.length); i++) {
                    sb.append("\tat ").append(holder.allocationStackTrace[i]).append("\n");
                }
                log.error(sb.toString());
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                lastAttempt = now;
            }
    
            void recordSuccess() {
                // Reduce counter on success to allow recovery
                recentAttempts.updateAndGet(val -> Math.max(0, val - 1));
            }
    
            void reset() {
                recentAttempts.set(0);
                blocked.set(false);
                blockExpiry = null;
                windowStart = Instant.now();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/PercentEscaper.java

     * the License.
     */
    
    package com.google.common.net;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.UnicodeEscaper;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                final byte[] addr = localInetAddress.getAddress();
                localHostname =
                        "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2);
            }
    
            /*
             * Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
             * cache it forever.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            if (blockSize == 0)
                blockSize = 16; // GCM mode
    
            int paddedLength = ((message.length + blockSize - 1) / blockSize) * blockSize;
            byte[] paddedMessage = new byte[Math.max(paddedLength, message.length)];
            System.arraycopy(message, 0, paddedMessage, 0, message.length);
    
            // Encrypt with constant timing
            byte[] result = cipher.doFinal(paddedMessage, 0, message.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedInteger.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.math.BigInteger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    			// no need to heal them skip, only when bucket
    			// is '.minio.sys'
    			if bucket == minioMetaBucket {
    				if wildcard.Match("buckets/*/.metacache/*", entry.name) {
    					return
    				}
    				if wildcard.Match("tmp/.trash/*", entry.name) {
    					return
    				}
    				if wildcard.Match("multipart/*", entry.name) {
    					return
    				}
    			}
    
    			// erasureObjects layer needs object names to be encoded
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/resources/ajax/js/jquery-2.1.1.min.js

    },removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b...
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 82.3K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.math.BigInteger
    import java.security.KeyFactory
    import java.security.spec.PKCS8EncodedKeySpec
    import java.security.spec.X509EncodedKeySpec
    import java.util.concurrent.TimeUnit
    import okhttp3.testing.PlatformRule
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top