Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,808 for only (0.38 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testReadOnlyFileOperations() throws Exception {
            // Test SMB read-only attribute
            long timestamp = System.currentTimeMillis();
            SmbFile file = new SmbFile(baseUrl + "shared/readonly_" + timestamp + ".txt", context);
    
            // Create file with content
            String content = "Read-only test content";
            try (OutputStream out = file.openOutputStream(false)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        }
    
        String futureToString = toString();
        String unitString = unit.toString().toLowerCase(Locale.ROOT);
        String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT);
        // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise
        if (remainingNanos + SPIN_THRESHOLD_NANOS < 0) {
          // We over-waited for our timeout.
          message += " (plus ";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMaker.java

       *
       * <p>By default, the map uses {@link Equivalence#identity} to determine key equality when {@link
       * #weakKeys} is specified, and {@link Equivalence#equals()} otherwise. The only place this is
       * used is in {@link Interners.WeakInterner}.
       */
      @CanIgnoreReturnValue
      @GwtIncompatible // To be supported
      MapMaker keyEquivalence(Equivalence<Object> equivalence) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            byte[] data = { 1, 2, 3 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
    
            int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5);
    
            assertEquals(3, bytesRead); // Only 3 bytes available
        }
    
        @Test
        @DisplayName("readn should handle EOF correctly")
        void testReadnEOF() throws IOException {
            byte[] buffer = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            void testPartialCopyOperation() throws SMBProtocolDecodingException {
                // Simulate partial copy where not all requested bytes were copied
                byte[] buffer = createValidCopyChunkResponse(3, // Only 3 chunks written (maybe less than requested)
                        65536, // 64KB per chunk
                        196608 // 192KB total (3 * 64KB)
                );
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
        while (iterator.hasNext()) {
          iterator.next();
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                context = new PreauthIntegrityNegotiateContext(mockConfig, null, null);
    
                assertNull(context.getHashAlgos());
                assertNull(context.getSalt());
                assertEquals(4, context.size()); // Only header
            }
    
            @ParameterizedTest
            @DisplayName("Should encode with different hash algorithm counts")
            @ValueSource(ints = { 0, 1, 2, 5, 10 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/CIBuildModel.kt

    enum class StageName(
        val stageName: String,
        val description: String,
        val uuid: String,
    ) {
        QUICK_FEEDBACK_LINUX_ONLY(
            "Quick Feedback - Linux Only",
            "Run checks and functional tests (embedded executer, Linux)",
            "QuickFeedbackLinuxOnly",
        ),
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Sun Aug 03 22:40:28 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

    By declaring types for your variables, editors and tools can give you better support.
    
    This is just a **quick tutorial / refresher** about Python type hints. It covers only the minimum necessary to use them with **FastAPI**... which is actually very little.
    
    **FastAPI** is all based on these type hints, they give it many advantages and benefits.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /** Tester for {@code BiMap.put} and {@code BiMap.forcePut}. */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class BiMapPutTester<K, V> extends AbstractBiMapTester<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top