Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 200 for calculated (0.1 sec)

  1. src/test/java/jcifs/smb/Kerb5ContextTest.java

            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.calculateMIC(data));
            assertTrue(ex.getMessage().contains("Failed to calculate MIC"));
        }
    
        @Test
        @DisplayName("calculateMIC with null data throws NPE")
        void calculateMIC_nullData() {
            assertThrows(NullPointerException.class, () -> ctx.calculateMIC(null));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. cmd/erasure.go

    	for i, info := range infos {
    		// Check if one of the drives in the set is being healed.
    		// this information is used by scanner to skip healing
    		// this erasure set while it calculates the usage.
    		if info.Error != "" || disks[i] == nil {
    			continue
    		}
    		if info.Healing {
    			healing++
    			if inclHealing {
    				healingDisks = append(healingDisks, disks[i])
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    pad = parameterOffset % PADDING_SIZE;
                    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)
  4. src/test/java/jcifs/smb1/util/HexdumpTest.java

            Hexdump.hexdump(ps, data, 0, size);
            String output = baos.toString();
    
            assertNotNull(output);
            assertTrue(output.contains("00000:"));
    
            // Calculate expected number of lines
            int expectedLines = (size + 15) / 16;
            String[] lines = output.split(System.getProperty("line.separator"));
            assertTrue(lines.length >= expectedLines);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    var ignoredStreamingHeaders = map[string]bool{
    	"Authorization": true,
    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    // calculateSignedChunkLength - calculates the length of chunk metadata
    func calculateSignedChunkLength(chunkDataSize int64) int64 {
    	return int64(len(fmt.Sprintf("%x", chunkDataSize))) +
    		17 + // ";chunk-signature="
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
    
            return Strings.fromOEMBytes(src, srcIndex, Strings.findTermination(src, srcIndex, maxLen), getConfig());
        }
    
        /**
         * Calculates the wire format length of a string
         * @param str string to measure
         * @param offset current buffer offset for alignment calculation
         * @return string length
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // Given - large buffer with many notifications
            byte[] buffer = new byte[65536];
            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Calculate space for notifications
            int notificationSize = 32; // Each notification
            int notificationCount = 100;
            int totalSize = notificationSize * notificationCount;
    
            // Write structure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

        return (totalLoadCount == 0) ? 0.0 : (double) loadExceptionCount / totalLoadCount;
      }
    
      /**
       * Returns the total number of nanoseconds the cache has spent loading new values. This can be
       * used to calculate the miss penalty. This value is increased every time {@code loadSuccessCount}
       * or {@code loadExceptionCount} is incremented.
       */
      @SuppressWarnings("GoodTime") // should return a java.time.Duration
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. .teamcity/performance-tests-ci.json

          "coverage" : {
            "per_commit" : [ "linux", "windows", "macOs" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.calculate task graph with test finalizer",
        "groups" : [ {
          "testProject" : "largeAndroidBuild",
          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  10. doc/go_spec.html

    the implementation restriction in the section
    on <a href="#Constants">constants</a>.  This rounding may cause a
    floating-point constant expression to be invalid in an integer
    context, even if it would be integral when calculated using infinite
    precision, and vice versa.
    </p>
    
    
    <h3 id="Order_of_evaluation">Order of evaluation</h3>
    
    <p>
    At package level, <a href="#Package_initialization">initialization dependencies</a>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top