Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for createOptions (0.05 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            return createOptions(null, null, null, null, modelVersion);
        }
    
        /**
         * Creates upgrade options with only the --plugins option set.
         *
         * @param plugins the --plugins option value
         * @return configured upgrade options
         */
        public static UpgradeOptions createOptionsWithPlugins(boolean plugins) {
            return createOptions(null, null, null, plugins, null);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                }
            } else {
                createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                }
            } else {
                this.createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            this.impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            }
        }
    
        @Test
        @DisplayName("CreateOptions default padding")
        void createOptionsAddedWhenLow() {
            // createOptions less than 0x0001 (i.e., 0) should be padded with 0x0040
            SmbComNTCreateAndX req = createRequest(0, 0);
            int actual = (int) getPrivateField(req, "createOptions");
            assertEquals(0x0040, actual, "createOptions should be padded with 0x0040");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Set the create options that control file creation behavior
         * @param createOptions the createOptions to set
         */
        public void setCreateOptions(final int createOptions) {
            this.createOptions = createOptions;
        }
    
        /**
         * Set the create contexts for this request
         * @param contexts the create contexts to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            void shouldPrioritizeExplicitModelOverAllOption() {
                UpgradeContext context =
                        createMockContext(tempDir, TestUtils.createOptions(true, null, null, null, "4.0.0"));
                String result = upgradeGoal.testDoUpgradeLogic(context, "4.0.0");
    
                assertEquals("4.0.0", result, "Explicit model should take precedence over --all");
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

            }
    
            @Test
            @DisplayName("should handle all options disabled")
            void shouldHandleAllOptionsDisabled() {
                UpgradeContext context = TestUtils.createMockContext(TestUtils.createOptions(
                        false, // --all
                        false, // --infer
                        false, // --fix-model
                        false, // --plugins
                        null // --model
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

            void shouldDetermineApplicabilityBasedOnOptions(
                    Boolean all, String model, boolean expectedApplicable, String description) {
                UpgradeContext context = TestUtils.createMockContext(TestUtils.createOptions(all, null, null, null, model));
    
                boolean isApplicable = strategy.isApplicable(context);
    
                assertEquals(expectedApplicable, isApplicable, description);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         *
         * @param <T> the response type
         * @param th the tree handle
         * @param createDisposition the create disposition
         * @param createOptions the create options
         * @param fileAttributes the file attributes
         * @param desiredAccess the desired access flags
         * @param shareAccess the share access flags
         * @param first the first request to execute
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.18.md

    - Signatures on methods in generated clientsets, dynamic, metadata, and scale clients have been modified to accept `context.Context` as a first argument. Signatures of Create, Update, and Patch methods have been updated to accept CreateOptions, UpdateOptions and PatchOptions respectively. Signatures of Delete and DeleteCollection methods now accept DeleteOptions by value instead of by reference. Generated clientsets with the previous interface have been added in new "deprecated" packages...
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
Back to top