Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 971 for Helper (0.04 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

    import org.codelibs.fess.app.service.RoleTypeService;
    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.helper.PermissionHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.opensearch.config.exentity.LabelType;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.RenderDataUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              }
            });
      }
    
      // We call the method only after checking that it's present.
      @IgnoreJRERequirement
      @SuppressWarnings({
        "Java8ApiChecker",
        // This method is a helper, which we call from a `finally` block, as recommended.
        "ReachabilityFenceUsage",
      })
      static void reachabilityFence(@Nullable Object o) {
        if (IS_REACHABILITY_FENCE_METHOD_USABLE) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/MIENameTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class MIENameTest {
    
        // Helper to build a valid buffer according to the expected layout.
        private static byte[] buildBuffer(byte[] oidDer, byte[] nameBytes) {
            byte[] tokId = new byte[] { 0x04, 0x01 };
            int oidLen = oidDer.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/FileNotifyInformationTest.java

                flags ^= FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE;
                assertFalse((flags & FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE) != 0);
            }
        }
    
        // Helper methods
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
        }
    
        private FileNotifyInformation createImplementation(final int action, final String fileName) {
    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)
  6. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

     */
    package org.codelibs.fess.helper;
    
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipOutputStream;
    
    import org.codelibs.fess.exception.ThemeException;
    import org.codelibs.fess.helper.PluginHelper.Artifact;
    import org.codelibs.fess.unit.UnitFessTestCase;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

    import org.codelibs.fess.app.service.WebConfigService;
    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.opensearch.config.exentity.WebAuthentication;
    import org.codelibs.fess.opensearch.config.exentity.WebConfig;
    import org.codelibs.fess.util.ComponentUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        //                                                                              JSP
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  9. cmd/bucket-lifecycle_test.go

    		if actual := tc.restoreStatus.OnDisk(); actual != tc.ondisk {
    			t.Fatalf("Test %d: expected %v but got %v", i+1, tc.ondisk, actual)
    		}
    	}
    }
    
    // TestIsRestoredObjectOnDisk tests isRestoredObjectOnDisk helper function
    func TestIsRestoredObjectOnDisk(t *testing.T) {
    	testCases := []struct {
    		meta   map[string]string
    		ondisk bool
    	}{
    		{
    			// restore in progress
    			meta: map[string]string{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            public void testIsHiddenForDollarShare() throws Exception {
                SmbFile hiddenShare = new SmbFile("smb1://server/C$/");
                assertTrue(hiddenShare.isHidden());
            }
        }
    
        // Helper method to create a mock SmbFile for more advanced tests if needed
        private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top