Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3971 - 3980 of 7,804 for RETURN (0.24 seconds)

  1. internal/rest/rpc-stats.go

    		s.DialAvgDuration = atomic.LoadUint64(&globalStats.tcpDialTotalDur) / v
    		s.TTFBAvgDuration = atomic.LoadUint64(&globalStats.tcpTimeForFirstByteTotalDur) / v
    	}
    	return s
    }
    
    // Return a function which update the global stats related to tcp connections
    func setupReqStatsUpdate(req *http.Request) (*http.Request, func()) {
    	var dialStart, dialEnd int64
    	start := time.Now()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 13 18:21:34 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java

                if (!isIncubating((JApiHasAnnotations) member) && !isInject((JApiHasAnnotations) member)) {
                    return violationError(member);
                }
            }
            return null;
        }
    
        private Violation violationError(JApiCompatibility member) {
            return acceptOrReject(member, Violation.error(member, "Is not annotated with @Incubating"));
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.7K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

      public static Test suite() {
        return new OpenJdk6QueueTests().allTests();
      }
    
      private static final List<Method> PQ_SUPPRESS = asList(getCreateWithNullUnsupportedMethod());
    
      @Override
      protected Collection<Method> suppressForPriorityBlockingQueue() {
        return PQ_SUPPRESS;
      }
    
      @Override
      protected Collection<Method> suppressForPriorityQueue() {
        return PQ_SUPPRESS;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TeamcityCIDetector.java

            String ciEnv = System.getenv(TEAMCITY_VERSION);
            if (ciEnv != null && !ciEnv.trim().isEmpty()) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
                    }
                });
            }
            return Optional.empty();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. tests/test_stringified_annotation_dependency.py

    
    @pytest.fixture(name="client")
    def client_fixture() -> TestClient:
        app = FastAPI()
    
        @app.get("/")
        async def get_people(client: Client) -> list:
            return await client.get_people()
    
        client = TestClient(app)
        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert response.json() == ["John Doe", "Jane Doe"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
        /**
         * Tests whether the output stream is currently open.
         *
         * @return whether the stream is open
         */
        public boolean isOpen() {
            return this.handle != null && this.handle.isValid();
        }
    
        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
         * @throws CIFSException if an error occurs opening the file
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
            File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
    
            return repositorySystem.createLocalRepository(repoDir);
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformationManager.java

     */
    @Deprecated
    public interface ArtifactTransformationManager {
        String ROLE = ArtifactTransformationManager.class.getName();
    
        /**
         * Take in an artifact and return the transformed artifact for locating in the remote repository. If no
         * transformation has occurred the original artifact is returned.
         *
         * @param artifact           Artifact to be transformed.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

                    .append(problem.getMessage()));
            return msg.toString();
        }
    
        /**
         * Returns the problem collector associated with this exception.
         *
         * @return the problem collector containing all problems related to this exception
         */
        public ProblemCollector<BuilderProblem> getProblemCollector() {
            return problems;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

         * Gets the one-based index of the line containing the error.
         *
         * @return The one-based index of the line containing the error or a non-positive value if unknown.
         */
        public int getLineNumber() {
            return lineNumber;
        }
    
        /**
         * Gets the one-based index of the column containing the error.
         *
         * @return The one-based index of the column containing the error or non-positive value if unknown.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
Back to Top