Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,705 for math (0.02 sec)

  1. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            }
    
            // Use context handle bytes to create a unique ID
            StringBuilder sb = new StringBuilder("WITNESS-");
            for (int i = 0; i < Math.min(contextHandle.length, 8); i++) {
                sb.append(String.format("%02X", contextHandle[i] & 0xFF));
            }
            sb.append("-").append(shareName.hashCode());
    
            return sb.toString();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. cmd/site-replication-utils.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"maps"
    	"math/rand"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    //go:generate msgp -file=$GOFILE
    
    // SiteResyncStatus captures current replication resync status for a target site
    type SiteResyncStatus struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

          int diff = 0x0; // bitset for output bits with different values
          int count = 0;
          // originally was 2 * Math.log(...), making it try more times to avoid flakiness issues
          int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1);
          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      @Override
      public String toString() {
        int iMax = length() - 1;
        if (iMax == -1) {
          return "[]";
        }
    
        // Double.toString(Math.PI).length() == 17
        StringBuilder b = new StringBuilder((17 + 2) * (iMax + 1));
        b.append('[');
        for (int i = 0; ; i++) {
          b.append(longBitsToDouble(longs.get(i)));
          if (i == iMax) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

                if (text == null || text.isEmpty()) {
                    return Collections.emptyList();
                }
    
                List<String> readings = new ArrayList<>();
                int limit = Math.min(langs.length, getMaxReadingNum());
    
                for (int i = 0; i < limit; i++) {
                    readings.add(text.toUpperCase() + "_" + langs[i]);
                }
    
                return readings;
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0);
                this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC);
            } else {
                file.connect0();
            }
            readSize = Math.min(file.tree.session.transport.rcv_buf_size - 70, file.tree.session.transport.server.maxBufferSize - 70);
        }
    
        /**
         * Converts an SmbException to an IOException.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                int rn) throws CIFSException {
            if (log.isDebugEnabled()) {
                log.debug("Resolving DFS path " + path);
            }
    
            if (path.length() >= 2 && path.charAt(0) == '\\' && path.charAt(1) == '\\') {
                throw new SmbException("Path must not start with double slash: " + path);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST;
    import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST_2;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    import static junit.framework.Assert.assertEquals;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

            // CAP_LARGE_WRITE
            if (th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive()) {
                this.writeSizeFile = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
            } else {
                log.debug("No support or SMB signing is enabled, not enabling large writes");
                this.writeSizeFile = this.writeSize;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                byte[] buffer = new byte[bufferSize];
                FileFsSizeInformation info = new FileFsSizeInformation();
    
                int decoded = info.decode(buffer, 0, Math.min(bufferSize, 24));
    
                assertEquals(24, decoded);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top