Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 1,008 for Helpers (0.11 seconds)

  1. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertInstanceOf(SmbShareInfo.class, entries[1]);
            assertEquals("normal_share", entries[1].getName());
            assertEquals(8, entries[1].getType());
        }
    
        // Helper method to set DfsEnumArray using reflection
        private void setDfsEnumArray(MsrpcDfsRootEnum target, netdfs.DfsEnumArray200 array) throws Exception {
            Field eField = netdfs.DfsEnumStruct.class.getDeclaredField("e");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java

            return _preference;
        }
    
        // ===================================================================================
        //                                                                      General Helper
        //                                                                      ==============
        protected String ln() {
            return DBFluteSystem.ln();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Should only offer NTLM, not Basic auth
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response, never()).addHeader(eq("WWW-Authenticate"), anyString());
        }
    
        // Helper method to initialize filter with standard configuration
        private void initializeFilter() throws ServletException {
            Map<String, String> initParams = new HashMap<>();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            System.arraycopy(buffer, 80, actualFileId, 0, 16);
            assertArrayEquals(newFileId, actualFileId);
    
            assertEquals(96, bytesWritten); // 32 bytes header + 64 bytes info
        }
    
        // Helper interface for testing
        private interface TestFileInformation extends FileInformation, Encodable {
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertTrue(echoResponse.isError());
                assertTrue(echoResponse.isReceived());
                assertEquals(error, echoResponse.getException());
            }
        }
    
        // Helper methods to set protected fields via reflection
        private void setStatus(ServerMessageBlock2 smb, int status) throws Exception {
            Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            }
        } // -- void setLocation( Object, InputLocation )
    
        /**
         * Sets the InputLocation for a specific nested element key in the locations map.
         * This is a helper method that manages the internal locations map.
         *
         * @param key the key to set the location for
         * @param location the InputLocation to associate with the key
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                assertEquals(200, response.getHttpStatusCode());
                assertNotNull(response.getContentAsString());
            }
        }
    
        // --- GZIP response tests ---
    
        /**
         * Helper to GZIP-compress a string.
         */
        private byte[] gzipCompress(String text) throws IOException {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/helper/SearchHelper.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.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    import java.text.NumberFormat;
    import java.util.ArrayList;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/LongMathTest.java

          }
        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
      private static void assertMean(long expectedMean, long x, long y) {
        assertEquals(
            "The expectedMean should be the same as computeMeanSafely",
            expectedMean,
            computeMeanSafely(x, y));
        assertMean(x, y);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
Back to Top