Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for calculating (0.06 sec)

  1. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Calculates a Message Integrity Code (MIC) for the given data.
         * @param data the data to calculate MIC for
         * @return MIC
         * @throws CIFSException if an error occurs calculating the MIC
         */
        byte[] calculateMIC(byte[] data) throws CIFSException;
    
        /**
         * Verifies a Message Integrity Code (MIC) for the given data.
         * @param data the data to verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

    import javax.crypto.Cipher;
    import javax.crypto.Mac;
    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    
    /**
     * Utility class for calculating and verifying PAC (Privilege Attribute Certificate) message authentication codes.
     * This class provides methods for computing MACs using various Kerberos encryption types including
     * ARCFOUR-HMAC-MD5 and AES-based HMAC algorithms.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses_test.go

    			gotGCD := getDivisibleSize(testCase.totalSizes)
    			if testCase.result != gotGCD {
    				t.Errorf("Expected %v, got %v", testCase.result, gotGCD)
    			}
    		})
    	}
    }
    
    // Test tests calculating set indexes with ENV override for drive count.
    func TestGetSetIndexesEnvOverride(t *testing.T) {
    	testCases := []struct {
    		args        []string
    		totalSizes  []uint64
    		indexes     [][]uint64
    		envOverride uint64
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. cmd/site-replication-metrics.go

    	// Total Replica received
    	ReplicaCount int64                `json:"replicaCount"`
    	M            map[string]*SRStatus `json:"srStatusMap"`
    
    	movingAvgTicker *time.Ticker // Ticker for calculating moving averages
    	lock            sync.RWMutex // mutex for srStats
    }
    
    // SRStatus has replication stats at deployment level
    type SRStatus struct {
    	ReplicatedSize int64 `json:"completedReplicationSize"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    pad = pad == 0 ? 0 : PADDING_SIZE - pad;
                    parameterOffset += pad;
                }
    
                // caclulate parameterDisplacement before calculating new parameterCount
                parameterDisplacement += parameterCount;
    
                int available = maxBufferSize - parameterOffset - pad;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                    this.pad1 = this.pad(this.parameterOffset);
                    this.parameterOffset += this.pad1;
                }
    
                // caclulate parameterDisplacement before calculating new parameterCount
                this.parameterDisplacement += this.parameterCount;
    
                int available = this.maxBufferSize - this.parameterOffset - this.pad1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        static final byte SMB_COM_NT_CREATE_ANDX = (byte) 0xA2;
    
        /*
         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        public static final byte SMB_COM_NT_CREATE_ANDX = (byte) 0xA2;
    
        /*
         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		}
    
    		if !sourceReplReq || !crypto.SSEC.IsEncrypted(mi.UserDefined) {
    			// Calculating object encryption key
    			key, err = decryptObjectMeta(key, bucket, object, mi.UserDefined)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

       * cache whose key or value type is incompatible with the weigher, you will likely experience a
       * {@link ClassCastException} at some <i>undefined</i> point in the future.
       *
       * @param weigher the weigher to use in calculating the weight of cache entries
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalStateException if a weigher was already set or {@link #maximumSize(long)} was
       *     previously called
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top