Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 6,076 for newE (0.03 seconds)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            srvsvc.ShareInfo1 shareInfo = new srvsvc.ShareInfo1();
            shareInfo.netname = "SingleShare";
            shareInfo.type = 2;
            shareInfo.remark = "Single share remark";
    
            // Create ShareInfoCtr1 with one share
            srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1();
            shareInfoCtr1.count = 1;
            shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo };
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            short level = 1;
    
            // Act
            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Assert
            assertSame(mockPolicyHandle, queryPolicy.handle);
        }
    
        @Test
        void constructor_shouldSetLevelCorrectly() {
            // Arrange
            short level = 7;
    
            // Act
            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java

         */
        @Test
        void testWriteParameterWordsWireFormat() {
            // Given
            SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect();
            byte[] dst = new byte[10];
    
            // When
            int result = smbComTreeDisconnect.writeParameterWordsWireFormat(dst, 0);
    
            // Then
            assertEquals(0, result, "writeParameterWordsWireFormat should return 0");
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

        @Test
        void testValidate() {
            Settings model = new Settings();
            Profile prof = new Profile();
            prof.setId("xxx");
            model.addProfile(prof);
            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(model, problems);
            assertEquals(0, problems.messages.size());
    
            Repository repo = new Repository(org.apache.maven.api.settings.Repository.newInstance(false));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                // Test various boundary values
                assertEquals(0, new NdrShort(0).value);
                assertEquals(255, new NdrShort(255).value);
                assertEquals(0, new NdrShort(256).value); // 256 & 0xFF = 0
                assertEquals(255, new NdrShort(-1).value); // -1 & 0xFF = 255
                assertEquals(128, new NdrShort(-128).value); // -128 & 0xFF = 128
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        int i = 0;
        for (Entry<E> entry : entries) {
          elementsBuilder.add(entry.getElement());
          cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount();
          i++;
        }
        return new RegularImmutableSortedMultiset<>(
            new RegularImmutableSortedSet<E>(elementsBuilder.build(), comparator),
            cumulativeCounts,
            0,
            entries.size());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        assertThat(ref.get()).isNull();
      }
    
      private WeakReference<Object> createWeakReference() {
        return new WeakReference<>(new Object());
      }
    
      public void testAwaitDone_finalizationPredicate() {
        WeakHashMap<Object, Object> map = new WeakHashMap<>();
        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(map::isEmpty);
        assertTrue(map.isEmpty());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater = new IndexUpdater();
    
            // Initialize mocks/test doubles
            systemHelper = new TestSystemHelper();
            indexingHelper = new TestIndexingHelper();
            intervalControlHelper = new TestIntervalControlHelper();
            searchLogHelper = new TestSearchLogHelper();
            languageHelper = new TestLanguageHelper();
            fessConfig = new TestFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

        private final AtomicLong rdmaSends = new AtomicLong();
        private final AtomicLong rdmaReceives = new AtomicLong();
        private final AtomicLong bytesTransferred = new AtomicLong();
        private final AtomicLong operationErrors = new AtomicLong();
        
        public void recordRdmaRead(int bytes) {
            rdmaReads.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
        }
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
Back to Top