Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 786 for Helpers (0.16 sec)

  1. 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);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.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.File;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.codelibs.core.crypto.CachedCipher;
    import org.codelibs.core.io.FileUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    		// return FS backend by default.
    		obj, disk, err := prepareFS(ctx)
    		if err != nil {
    			return nil, nil, err
    		}
    		return obj, []string{disk}, nil
    	}
    }
    
    // ExecObjectLayerAPIAnonTest - Helper function to validate object Layer API handler
    // response for anonymous/unsigned and unknown signature type HTTP request.
    
    // Here is the brief description of some of the arguments to the function below.
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.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 org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class ProtocolHelperTest extends UnitFessTestCase {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.dict.DictionaryException;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    public class StopwordsFileTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/Kerb5ContextTest.java

            void dispose_nullContext_noop() throws Exception {
                setPrivateField(ctx, "gssContext", null);
                assertDoesNotThrow(() -> ctx.dispose());
            }
        }
    
        // Helper to build a minimal exported name token understood by MIEName(byte[])
        // Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_test.go

    	_, err = readXLMetaNoData(bytes.NewReader(buf), int64(len(buf)))
    	if err == nil {
    		t.Fatal("expected error but returned success")
    	}
    }
    
    func TestXLV2FormatData(t *testing.T) {
    	failOnErr := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	data := []byte("some object data")
    	data2 := []byte("some other object data")
    
    	xl := xlMetaV2{}
    	fi := FileInfo{
    		Volume:           "volume",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            }
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
    
        private HtmlResponse asListHtml() {
            return asHtml(path_AdminDesign_AdminDesignJsp).useForm(DesignForm.class);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertTrue(maxDataCount > 0);
            offset += 2;
    
            // Verify total bytes written
            assertEquals(offset, bytesWritten);
        }
    
        // Helper methods
    
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = getField(obj.getClass(), fieldName);
                field.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SIDCacheImplTest.java

    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.UnicodeString;
    import jcifs.dcerpc.msrpc.LsaPolicyHandle;
    import jcifs.dcerpc.msrpc.lsarpc;
    
    @ExtendWith(MockitoExtension.class)
    class SIDCacheImplTest {
    
        // Helper to create a SID from text without throwing in the test body
        private static SID sid(String textual) {
            try {
                return new SID(textual);
            } catch (SmbException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top