Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 6861 - 6870 of 7,804 for RETURN (0.12 seconds)

  1. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            DslContext.addParameters("branch" to branchName)
            return PromotionProject(VersionedSettingsBranch(branchName))
        }
    
        private fun gradleStep(
            steps: List<BuildStep>,
            index: Int,
        ): GradleBuildStep {
            assertTrue(steps.size > index)
            return steps[index] as GradleBuildStep
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 15.3K bytes
    - Click Count (1)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
            assertArrayEquals(expected, buffer);
        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
        void testReadBytesWireFormat() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
        private UpgradeContext createMockContext(UpgradeOptions options) {
            return TestUtils.createMockContext(options);
        }
    
        private UpgradeOptions createDefaultOptions() {
            return TestUtils.createDefaultOptions();
        }
    
        @Nested
        @DisplayName("Applicability")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");
            df.setCalendar(new GregorianCalendar());
            df.setTimeZone(RemoteSnapshotMetadata.DEFAULT_SNAPSHOT_TIME_ZONE);
            return df.format(new Date());
        }
    
        @Test
        void gregorianCalendarIsUsed() {
            String dateBefore = gregorianDate();
    
            RemoteSnapshotMetadata metadata =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

      private static <T> Type aTypeVariable() {
        return new TypeCapture<T>() {}.capture();
      }
    
      private static <T> Type aWildcardType() {
        ParameterizedType parameterizedType =
            (ParameterizedType) new TypeCapture<List<? extends T>>() {}.capture();
        return parameterizedType.getActualTypeArguments()[0];
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 9.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class ConcurrentMapRemoveTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_supportedPresent() {
        assertTrue(getMap().remove(k0(), v0()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class ConcurrentMapRemoveTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_supportedPresent() {
        assertTrue(getMap().remove(k0(), v0()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((setupCount != 0) && (LogStream.level >= 3)) {
                log.println("setupCount is not zero: " + setupCount);
            }
    
            return bufferIndex - start;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

                throw Exception("Sources repository did not close cleanly").apply {
                    errors.forEach(this::addSuppressed)
                }
            }
        }
    
        /**
         * @return the source file and it's source root
         */
        fun sourceFileAndSourceRootFor(sourceFilePath: String): Pair<File, File> =
            sourceRoots.asSequence()
                .map { it.resolve(sourceFilePath) to it }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/testing-dependencies.md

    /// tip
    
    You can set a dependency override for a dependency used anywhere in your **FastAPI** application.
    
    The original dependency could be used in a *path operation function*, a *path operation decorator* (when you don't use the return value), a `.include_router()` call, etc.
    
    FastAPI will still be able to override it.
    
    ///
    
    Then you can reset your overrides (remove them) by setting `app.dependency_overrides` to be an empty `dict`:
    
    ```Python
    L46
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top