Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 971 for Helper (0.15 seconds)

  1. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            LoginCredential credential = ssoManager.getLoginCredential();
            assertNotNull(credential);
            assertEquals("entraiduser", ((TestLoginCredential) credential).username);
        }
    
        // Helper classes for testing
        private static class TestLoginCredential implements LoginCredential {
            private final String username;
    
            public TestLoginCredential(String username) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.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.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.TimeUnit;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.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 static org.codelibs.core.stream.StreamUtil.split;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicBoolean;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertEquals((byte) 3, FileSystemInformation.FS_SIZE_INFO);
            assertEquals((byte) 7, FileSystemInformation.FS_FULL_SIZE_INFO);
        }
    
        // Helper methods
    
        private void setInfoField(Trans2QueryFSInformationResponse response, FileSystemInformation info) {
            try {
                Field infoField = Trans2QueryFSInformationResponse.class.getDeclaredField("info");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

         * unable to do so.
         */
        static GetCheckedTypeValidator getBestValidator() {
          return weakSetValidator();
        }
      }
    
      // TODO(cpovirk): change parameter order to match other helper methods (Class, Throwable)?
      private static <X extends Exception> void wrapAndThrowExceptionOrError(
          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset);
    
            assertTrue(bytesRead > 0);
            assertNotNull(response.getInfo());
        }
    
        // Helper methods to create mock buffers for different file information types
    
        private byte[] createMockFileBasicInfoBuffer() {
            // Create a buffer that represents FileBasicInfo data
    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)
  8. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.JobProcessingException;
    import org.codelibs.fess.helper.ProcessHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

    import org.codelibs.fess.app.service.WebConfigService;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.crawler.util.CharUtil;
    import org.codelibs.fess.helper.ProcessHelper;
    import org.codelibs.fess.opensearch.config.exentity.FileConfig;
    import org.codelibs.fess.opensearch.config.exentity.ScheduledJob;
    import org.codelibs.fess.opensearch.config.exentity.WebConfig;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 02:14:37 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            for (int i = 1; i < chains.size(); i++) {
                assertEquals("user" + i, chains.get(i).lastLoadedUser.getName());
            }
        }
    
        // Helper method to create test user
        private User createTestUser(String username) {
            User user = new User();
            user.setName(username);
            return user;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
Back to Top