Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,157 for represent (0.05 seconds)

  1. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertFalse(result.isPresent());
        }
    
        @Test
        public void test_ofNullable_optionalEntityBehavior() {
            // Test with present value
            String presentValue = "present";
            OptionalEntity<String> presentOptional = OptionalUtil.ofNullable(presentValue);
    
            assertTrue(presentOptional.isPresent());
            assertEquals("present", presentOptional.get());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  2. internal/kms/config_test.go

    			t.Setenv(k, v)
    		}
    
    		ok, err := IsPresent()
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should have failed but succeeded", i)
    		}
    
    		if !test.ShouldFail && ok != test.IsPresent {
    			t.Fatalf("Test %d: reported that KMS present=%v - want present=%v", i, ok, test.IsPresent)
    		}
    	}
    }
    
    var isPresentTests = []struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                return new ApiResult(this);
            }
        }
    
        /**
         * Represents an API response containing a list of backup files.
         */
        public static class ApiBackupFilesResponse extends ApiResponse {
            /**
             * The list of backup files, where each file is represented by a map of strings.
             */
            protected List<Map<String, String>> files;
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  4. cmd/httprange.go

    package cmd
    
    import (
    	"errors"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    const (
    	byteRangePrefix = "bytes="
    )
    
    // HTTPRangeSpec represents a range specification as supported by S3 GET
    // object request.
    //
    // Case 1: Not present -> represented by a nil RangeSpec
    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

                spec.setIgnoreExitValue(true);
            });
            return new Result(execResult.getExitValue(), stdout.toString(), stderr.toString());
        }
    
        /**
         * An immutable class that represents the results of a Docker search from {@link #getDockerAvailability()}}.
         */
        public static class DockerAvailability {
            /**
             * Indicates whether Docker is available and meets the required criteria.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Verify the field naming is set to CAMEL_TO_LOWER_SNAKE
            OptionalThing<JsonFieldNaming> fieldNamingOpt = option.getFieldNaming();
            assertTrue("Field naming should be present", fieldNamingOpt.isPresent());
            assertEquals(JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNamingOpt.get());
        }
    
        @Test
        public void test_provideMappingOption_notNull() {
            // Test that mapping option is never null
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

             */
            boolean isResolved();
    
            /**
             * Indicates whether the requested artifact is not present in any of the specified repositories.
             *
             * @return {@code true} if the artifact is not present in any repository, {@code false} otherwise.
             */
            boolean isMissing();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. internal/crypto/sse-kms.go

    	// Otherwise, the metadata is corrupted.
    	keyID, idPresent := metadata[MetaKeyID]
    	b64KMSSealedKey, kmsKeyPresent := metadata[MetaDataEncryptionKey]
    	if !idPresent && kmsKeyPresent {
    		return keyID, kmsKey, sealedKey, ctx, Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3")
    	}
    	if idPresent && !kmsKeyPresent {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            context.invokerRequest.stdIn().ifPresent(System::setIn);
            context.invokerRequest
                    .stdOut()
                    .ifPresent(out -> System.setOut(out instanceof PrintStream pw ? pw : new PrintStream(out, true)));
            context.invokerRequest
                    .stdErr()
                    .ifPresent(err -> System.setErr(err instanceof PrintStream pw ? pw : new PrintStream(err, true)));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

                Optional.empty<T>()
            )
        }.reduce { acc, next ->
            acc.zip(next) { left, right ->
                when {
                    left.isPresent -> {
                        require(!right.isPresent) {
                            "Expected at most one provider to be present"
                        }
                        left
                    }
                    else -> right
                }
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:46:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top