Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1641 - 1650 of 6,020 for new1 (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

        @Mock
        Configuration configuration;
    
        @Mock
        CIFSContext cifsContext;
    
        // Helper to create a fresh request under test
        private Smb2LogoffRequest newRequest() {
            return new Smb2LogoffRequest(configuration);
        }
    
        @Test
        @DisplayName("size() returns 8-byte aligned value (header + 4)")
        void size_returnsAlignedValue() {
            // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. docs/en/docs/js/custom.js

            || window.location.origin;
        const siteOrigin = new URL(siteUrl).origin;
        document.querySelectorAll(".md-content a[href]").forEach(a => {
            if (a.getAttribute("target") === "_self") return;
            const href = a.getAttribute("href");
            if (!href) return;
            try {
                const url = new URL(href, window.location.href);
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:59:48 GMT 2026
    - 7.7K bytes
    - Click Count (2)
  3. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            // Mock the unwrap method to return a sid_t instance
            sid_t sidT1 = new sid_t();
            sid_t sidT2 = new sid_t();
            when(mockSid1.unwrap(sid_t.class)).thenReturn(sidT1);
            when(mockSid2.unwrap(sid_t.class)).thenReturn(sidT2);
    
            jcifs.SID[] sids = { mockSid1, mockSid2 };
            LsarSidArrayX lsarSidArrayX = new LsarSidArrayX(sids);
    
            // Verify num_sids
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

     *
     */
    class ScopeArtifactFilterTest {
    
        private Artifact newArtifact(String scope) {
            return new DefaultArtifact("g", "a", "1.0", scope, "jar", "", null);
        }
    
        @Test
        void testIncludeCompile() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

    /**
     * Maven encrypt CLI "new-gen".
     */
    public class MavenEncCling extends ClingSupport {
        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args, null, null, null, false);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsElevateWordToLabelCA.java

            ElevateWordToLabelCQ cq = new ElevateWordToLabelCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

         */
        @Test
        public void test_convertWithFieldCheck_reducesCodeDuplication() {
            FessConfig fessConfig = ComponentUtil.getFessConfig();
            QueryContext context1 = new QueryContext("test", true);
            QueryContext context2 = new QueryContext("test", true);
    
            // Using template method
            QueryBuilder result1 = queryCommand.convertWithFieldCheck(fessConfig, context1, "title", "test", 1.0f,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        private SrvPipePeekResponse response;
    
        @BeforeEach
        void setUp() {
            response = new SrvPipePeekResponse();
        }
    
        @Test
        @DisplayName("Test successful decode with data")
        void testDecodeWithData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[24]; // 16 bytes header + 8 bytes data
            int bufferIndex = 0;
    
            // Set up test values
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

        void beforeEach() {
            logger = mock(Logger.class);
            when(logger.isInfoEnabled()).thenReturn(true);
            executionEventLogger = new ExecutionEventLogger(messageBuilderFactory, logger);
        }
    
        @Test
        void testProjectStarted() {
            // prepare
            File basedir = new File("").getAbsoluteFile();
            ExecutionEvent event = mock(ExecutionEvent.class);
            MavenProject project = mock(MavenProject.class);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 12.3K bytes
    - Click Count (0)
Back to Top