Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 971 for Helper (0.06 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                System.setProperty(MavenCli.MULTIMODULE_PROJECT_DIRECTORY, origBasedir);
            } else {
                System.getProperties().remove(MavenCli.MULTIMODULE_PROJECT_DIRECTORY);
            }
        }
    
        // Helper method for containsExactlyInAnyOrder assertion
        private static <T> void assertContainsExactlyInAnyOrder(Collection<T> actual, T... expected) {
            assertEquals(expected.length, actual.size(), "Collection size mismatch");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertTrue(size > daclOffset);
            assertNotNull(securityDescriptor.getAces());
            assertEquals(1, securityDescriptor.getAces().length);
        }
    
        // Helper methods
    
        private void prepareMinimalSecurityDescriptorBuffer(byte[] buffer, int offset, boolean includeOwner, boolean includeGroup,
                boolean includeDacl) {
            buffer[offset] = 0x01; // revision
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

     * Tests for SmbRandomAccessFile covering happy paths, edge cases, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbRandomAccessFileTest {
    
        // Helper: build a minimally wired instance with mocks; avoids real I/O
        private SmbRandomAccessFile newInstance(String mode, boolean smb2, boolean ntSmbsCap, boolean unshared) throws CIFSException {
            SmbFile file = mock(SmbFile.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            context.logger.error(
                    MessageUtils.builder().a("  ").strong(resumeBuildHint).toString());
        }
    
        /**
         * A helper method to determine the value to resume the build with {@code -rf} taking into account the edge case
         *   where multiple modules in the reactor have the same artifactId.
         * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.function.Consumer;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("Same annotation should be equal", annotation1, annotation1Copy);
            assertEquals("Same annotation should have same hashCode", annotation1.hashCode(), annotation1Copy.hashCode());
        }
    
        // Helper methods to get default values
        private String getDefaultMessage() {
            try {
                final Method method = UriType.class.getMethod("message");
                final Object defaultValue = method.getDefaultValue();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the current CRUD mode
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  8. cmd/update.go

    //
    // Any change here should be discussed by opening an issue at
    // https://github.com/minio/minio/issues.
    func getUserAgent(mode string) string {
    	userAgentParts := []string{}
    	// Helper function to concisely append a pair of strings to a
    	// the user-agent slice.
    	uaAppend := func(p, q string) {
    		userAgentParts = append(userAgentParts, p, q)
    	}
    	uaAppend(MinioUAName, " (")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        @Override
        public String toString() {
            flushAttributes();
            return builder.toString();
        }
    
        ///////////////////////////////////////////////////////////////////
        // Private Helper Methods
        ///////////////////////////////////////////////////////////////////
    
        private Ansi appendEscapeSequence(char command) {
            flushAttributes();
            builder.append(FIRST_ESC_CHAR);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.SearchLogPager;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.log.allcommon.EsPagingResultBean;
    import org.codelibs.fess.opensearch.log.cbean.ClickLogCB;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 32.7K bytes
    - Click Count (0)
Back to Top