Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 150 for calculating (0.06 seconds)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Usage Pattern Tests")
        class UsagePatternTests {
    
            @Test
            @DisplayName("Should support percentage calculation pattern")
            void shouldSupportPercentageCalculationPattern() {
                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(1000L, 250L);
    
                // When - calculate percentage free
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessClient.java

        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long BASE_ERROR_DELAY = 1000;
        private static final int MAX_FAILURE_LIMIT = 5; // Limit failures for backoff calculation
    
        private final InetAddress witnessServer;
        private final int port;
        private final CIFSContext context;
        private final ConcurrentHashMap<String, WitnessRegistration> registrations;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            });
    
            assertTrue(exception.getMessage().contains("Security buffer extends beyond available data"));
        }
    
        /**
         * Test integer overflow protection in security buffer offset calculation.
         */
        @Test
        public void testSecurityBufferIntegerOverflow() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. docs/SMB3_IMPLEMENTATION_PLAN.md

    └── ChannelFailover.java         - Channel failure handling
    ```
    
    #### 3.2 Implementation Tasks
    - [ ] Implement FSCTL_QUERY_NETWORK_INTERFACE_INFO
    - [ ] Create channel binding hash calculation
    - [ ] Implement channel establishment protocol
    - [ ] Add request distribution algorithm
    - [ ] Create channel synchronization mechanism
    - [ ] Implement channel failure detection
    - [ ] Add automatic channel recovery
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.20.md

      - Remove redundant log lines and reduce severity around parsing kubeEnv
      - Don't treat nodes created by virtual kubelet as nodes from non-autoscaled node groups
      - Remove redundant logging around calculating node utilization
      - Add configurable `--network` and `--rm` flags for docker in `Makefile`
      - Subtract DaemonSet pods' requests from node allocatable in the denominator while computing node utilization
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertEquals(1, stats.getOperationErrors(), "Should have 1 error");
            assertEquals(0.25, stats.getErrorRate(), 0.001, "Error rate should be 25% (1 error out of 4 successful operations)");
    
            // Verify latency calculations
            assertTrue(stats.getAverageReadLatencyMicros() > 0, "Read latency should be positive");
            assertTrue(stats.getAverageWriteLatencyMicros() > 0, "Write latency should be positive");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        }
    
        @Test
        @DisplayName("Test readDataWireFormat with converter offset")
        void testReadDataWireFormatWithConverter() throws Exception {
            // Set converter to test offset calculation
            int converterValue = 100;
            setConverter(response, converterValue);
            setNumEntries(response, 1);
    
            String shareName = "TEST";
            String remark = "Test remark";
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(pathBytes, actualPath);
        }
    
        @Test
        @DisplayName("Should verify size8 alignment calculation")
        void testSize8Alignment() throws Exception {
            // Given - Various path lengths to test alignment
            String[] paths = { "\\\\a\\b", // Short path
                    "\\\\server\\share", // Medium path
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/site/apt/index.apt

      ** since Maven 3.5.0, if <<<project.directory>>> POM property value is defined, it is used instead of artifact id:
      this permits default inheritance calculations when module directory name is not equal to artifact id. Notice that this
      property is not inherited from a POM to its child: child's POM will use child artifact id if property is not
      set.
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. internal/s3select/message.go

    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // A message is in the format specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-frame-overview.png
    // hence the calculation is made accordingly.
    func totalByteLength(headerLength, payloadLength int) int {
    	return 4 + 4 + 4 + headerLength + payloadLength + 4
    }
    
    func genMessage(header, payload []byte) []byte {
    	headerLength := len(header)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top