Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 3,402 for rint (0.06 sec)

  1. android/guava/src/com/google/common/collect/Hashing.java

       * hereby disclaims copyright to this source code.
       */
      static int smear(int hashCode) {
        return (int) (C2 * Integer.rotateLeft((int) (hashCode * C1), 15));
      }
    
      static int smearedHash(@CheckForNull Object o) {
        return smear((o == null) ? 0 : o.hashCode());
      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      static int closedTableSize(int expectedEntries, double loadFactor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

       */
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        Count frequency = backingMap.get(element);
        int oldCount;
        if (frequency == null) {
          oldCount = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

        /**
         * 
         */
        public static final int SMB2_LOCKFLAG_SHARED_LOCK = 0x1;
    
        /**
         * 
         */
        public static final int SMB2_LOCKFLAG_EXCLUSIVE_LOCK = 0x2;
    
        /**
         * 
         */
        public static final int SMB2_LOCKFLAG_UNLOCK = 0x4;
    
        /**
         * 
         */
        public static final int SMB2_LOCKFLAG_FAIL_IMMEDIATELY = 0x10;
    
        private long offset;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

        }
    
        public int getMinorVersion() {
            return minorVersion != null ? minorVersion : 0;
        }
    
        public int getIncrementalVersion() {
            return incrementalVersion != null ? incrementalVersion : 0;
        }
    
        public int getBuildNumber() {
            return buildNumber != null ? buildNumber : 0;
        }
    
        public String getQualifier() {
            return qualifier;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbPipeResource.java

         */
    
        public static final int PIPE_TYPE_RDONLY = SmbConstants.O_RDONLY;
    
        /**
         * The pipe should be opened only for writing.
         */
    
        public static final int PIPE_TYPE_WRONLY = SmbConstants.O_WRONLY;
    
        /**
         * The pipe should be opened for both reading and writing.
         */
    
        public static final int PIPE_TYPE_RDWR = SmbConstants.O_RDWR;
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

        }
        public long getSize() {
            return fileSize;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            if( wordCount == 0 ) {
                return 0;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/UniAddress.java

     * DNS resolvable hosts.
     */
    
    public class UniAddress {
    
        private static final int RESOLVER_WINS    = 0;
        private static final int RESOLVER_BCAST   = 1;
        private static final int RESOLVER_DNS     = 2;
        private static final int RESOLVER_LMHOSTS = 3;
    
        private static int[] resolveOrder;
        private static InetAddress baddr;
    
        private static LogStream log = LogStream.getInstance();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

         */
        @Override
        public int size () {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenInit.java

    public class NegTokenInit extends SpnegoToken {
    
        public static final int DELEGATION = 0x80;
        public static final int MUTUAL_AUTHENTICATION = 0x40;
        public static final int REPLAY_DETECTION = 0x20;
        public static final int SEQUENCE_CHECKING = 0x10;
        public static final int ANONYMITY = 0x08;
        public static final int CONFIDENTIALITY = 0x04;
        public static final int INTEGRITY = 0x02;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top