Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 37 for getOption (0.07 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @Test
        @DisplayName("Test default constructor creates instance with null values")
        void testDefaultConstructor() {
            assertNotNull(notifyInfo);
            assertEquals(0, notifyInfo.getAction());
            assertNull(notifyInfo.getFileName());
            assertEquals(0, notifyInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes correctly")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertEquals(LoginModuleControlFlag.REQUIRED, e.getControlFlag(), "Control flag should be REQUIRED");
            assertNotNull(e.getOptions(), "Options map should not be null");
            assertTrue(e.getOptions().isEmpty(), "Default options should be empty");
        }
    
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", "svc/******@****.***" })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, notifications.get(0).getAction());
    
            // Verify second notification
            assertEquals("file2.txt", notifications.get(1).getFileName());
            assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, notifications.get(1).getAction());
    
            // Verify third notification
            assertEquals("file3.txt", notifications.get(2).getFileName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java

            java.setTargetCompatibility(BuildParams.getMinimumRuntimeVersion());
    
            project.getTasks().withType(JavaCompile.class).configureEach(compileTask -> {
                CompileOptions compileOptions = compileTask.getOptions();
                /*
                 * -path because gradle will send in paths that don't always exist.
                 * -missing because we have tons of missing @returns and @param.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 8K bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

         */
        @get:Input
        @get:Optional
        @get:Option(option = "fix", description = "When enabled, will write the correct computed runtimes back to the build files")
        abstract val fix: Property<Boolean>
    
        /**
         * If enabled, prints extra details describing why a target runtime declaration is invalid.
         */
        @get:Input
        @get:Optional
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(3, notifications.size());
    
            assertEquals(1, notifications.get(0).getAction());
            assertEquals("file1", notifications.get(0).getFileName());
    
            assertEquals(2, notifications.get(1).getAction());
            assertEquals("file2", notifications.get(1).getFileName());
    
            assertEquals(3, notifications.get(2).getAction());
            assertEquals("file3", notifications.get(2).getFileName());
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                if (field.getOptions().isPresent()) {
                    // list options
                    ListPromptBuilder listPromptBuilder =
                            promptBuilder.createListPrompt().name(fieldKey).message(fieldDescription);
                    for (DispatcherMeta.Field option : field.getOptions().get()) {
                        listPromptBuilder
                                .newItem()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaPlugin.java

                 * that the default will change to html5 in the future.
                 */
                CoreJavadocOptions javadocOptions = (CoreJavadocOptions) javadoc.getOptions();
                javadocOptions.addBooleanOption("html5", true);
            });
    
            TaskProvider<Javadoc> javadoc = project.getTasks().withType(Javadoc.class).named("javadoc");
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 7.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

        int action;
        int fileNameLength;
        String fileName;
    
        /**
         * Default constructor for decoding.
         */
        public FileNotifyInformationImpl() {
        }
    
        @Override
        public int getAction() {
            return this.action;
        }
    
        @Override
        public String getFileName() {
            return this.fileName;
        }
    
        /**
         * Gets the offset to the next entry.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

         */
        public final int getDeviceState() {
            return this.deviceState;
        }
    
        /**
         * Gets the action taken.
         *
         * @return the action
         */
        public final int getAction() {
            return this.action;
        }
    
        /**
         * Gets the server file identifier.
         *
         * @return the serverFid
         */
        public final int getServerFid() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top