Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 2,060 for Results (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                    boolean result = propValue.equals(sysValue);
    
                    if (reverseValue) {
                        return !result;
                    } else {
                        return result;
                    }
                } else {
                    boolean result = sysValue != null && !sysValue.isEmpty();
    
                    if (reverseName) {
                        return !result;
                    } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            RequestParameter[] result = searchHelper.getSearchParameters();
            assertEquals(2, result.length);
            assertEquals("q", result[0].getName());
            assertEquals("test", result[0].getValues()[0]);
            assertEquals("lang", result[1].getName());
            assertEquals("en", result[1].getValues()[0]);
            assertEquals("ja", result[1].getValues()[1]);
        }
    
        // Test addRewriter method
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

        eventClass: Class<out ConnectionEvent>? = null,
        elapsedMs: Long = -1L,
      ): ConnectionEvent {
        val result = eventSequence.remove()
        val actualElapsedNs = result.timestampNs - (lastTimestampNs ?: result.timestampNs)
        lastTimestampNs = result.timestampNs
    
        if (eventClass != null) {
          assertThat(result).isInstanceOf(eventClass)
        }
    
        if (elapsedMs != -1L) {
          assertThat(
            TimeUnit.NANOSECONDS
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

                List<ExecutionPlanItem> planItems) {
            LinkedHashSet<String> result = new LinkedHashSet<>();
            for (ExecutionPlanItem executionPlanItem : planItems) {
                result.add(executionPlanItem.getLifecyclePhase());
            }
            return result;
        }
    
        public List<MojoExecution> getMojoExecutions() {
            List<MojoExecution> result = new ArrayList<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

        }
    
        @Test
        public void testSuccessfulOperation() throws CIFSException {
            String result = circuitBreaker.executeWithCircuitBreaker(() -> "success");
            assertEquals("success", result, "Operation should return correct result");
            assertEquals(State.CLOSED, circuitBreaker.getState(), "State should remain CLOSED");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  6. callbacks/delete.go

    			ok, mode := hasReturning(db, supportReturning)
    			if !ok {
    				result, err := db.Statement.ConnPool.ExecContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    
    				if db.AddError(err) == nil {
    					db.RowsAffected, _ = result.RowsAffected()
    
    					if db.Statement.Result != nil {
    						db.Statement.Result.Result = result
    						db.Statement.Result.RowsAffected = db.RowsAffected
    					}
    				}
    
    				return
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

                return asJson(
                        new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result());
            }
            installArtifact(artifact);
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
        /**
         * Deletes a plugin with the specified name and version.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

                
                version = "1.0"
                group = 'org.acme'
                description = "custom project description"
            """
    
            when:
            def result = gradleRunner('assemble').build()
    
            then:
            result.task(":generatePom").outcome == TaskOutcome.SUCCESS
            file("build/distributions/hello-world-1.0.jar").exists()
            file("build/distributions/hello-world-1.0-javadoc.jar").exists()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 19K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
        assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS));
        assertThat(target.finished).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/ByteStreams.java

        if (bufs.isEmpty()) {
          return new byte[0];
        }
        byte[] result = bufs.remove();
        if (result.length == totalLen) {
          return result;
        }
        int remaining = totalLen - result.length;
        result = Arrays.copyOf(result, totalLen);
        while (remaining > 0) {
          byte[] buf = bufs.remove();
          int bytesToCopy = min(remaining, buf.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
Back to Top