Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4971 - 4980 of 7,132 for String (0.34 seconds)

  1. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals("90s", builder.timeoutSettings.clusterTimeout);
        }
    
        @Test
        public void testBuildWithDefaults() {
            // Test building with default values
            String id = "test-id";
            SuggestSettings settings = builder.build(client, id);
    
            assertNotNull(settings);
            // Verify that the settings object was created with the correct parameters
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

        @JvmField
        val EMPTY: RequestBody = ByteString.EMPTY.toRequestBody()
    
        /**
         * Returns a new request body that transmits this string. If [contentType] is non-null and lacks
         * a charset, this will use UTF-8.
         */
        @JvmStatic
        @JvmName("create")
        fun String.toRequestBody(contentType: MediaType? = null): RequestBody {
          val (charset, finalContentType) = contentType.chooseCharset()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

         *
         * @param id the file authentication setting ID
         * @return JSON response containing the file authentication setting details
         */
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(new ApiConfigResponse().setting(fileAuthService.getFileAuthentication(id).map(this::createEditBody).orElseGet(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        @Mock
        private ACE mockAce1;
    
        @Mock
        private ACE mockAce2;
    
        private MsrpcShareGetInfo msrpcShareGetInfo;
        private String testServer = "testServer";
        private String testSharename = "testShare";
    
        @BeforeEach
        void setUp() {
            msrpcShareGetInfo = new MsrpcShareGetInfo(testServer, testSharename);
        }
    
        @Test
        void testConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  5. tests/associations_belongs_to_test.go

    	AssertAssociationCount(t, users[1], "Company", 1, "After other user Delete")
    }
    
    func TestBelongsToDefaultValue(t *testing.T) {
    	type Org struct {
    		ID string
    	}
    	type BelongsToUser struct {
    		OrgID string
    		Org   Org `gorm:"default:NULL"`
    	}
    
    	tx := DB.Session(&gorm.Session{})
    	tx.Config.DisableForeignKeyConstraintWhenMigrating = true
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/DefaultMirrorSelectorTest.java

        @Test
        void testMirrorWithMirrorOfPatternContainingANegationIsNotSelected() {
            ArtifactRepository repository = new DefaultArtifactRepository("snapshots.repo", "http://whatever", null);
            String pattern = "external:*, !snapshots.repo";
            assertFalse(DefaultMirrorSelector.matchPattern(repository, pattern));
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java

    public class ShellParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliShellOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
                throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e);
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/RepositorySystemSessionExtender.java

     *
     * @since 4.0.0
     */
    interface RepositorySystemSessionExtender {
        void extend(
                MavenExecutionRequest mavenExecutionRequest,
                Map<String, Object> configProperties,
                MirrorSelector mirrorSelector,
                ProxySelector proxySelector,
                AuthenticationSelector authenticationSelector);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/primitives/PackageSanityTests.java

     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(String.class, "string");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  10. internal/bucket/lifecycle/expiration_test.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    )
    
    // appropriate errors on validation
    func TestInvalidExpiration(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Expiration with zero days
    			inputXML: ` <Expiration>
                                        <Days>0</Days>
                                        </Expiration>`,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top