Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,045 for rejects (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp does not reject invalid Punycode.
          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            assertTrue(result, "Filter should accept any provided name");
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Happy-path: a filter that rejects any name.
         */
        @ParameterizedTest
        @DisplayName("rejects every provided name")
        @ValueSource(strings = { "file.txt", "data.DAT", "a", "", "   " })
        void rejectsAnyNameReturnsFalse(String input) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. cmd/sts-datatypes.go

    	// Also, future updates to AWS might require larger sizes.
    	Credentials auth.Credentials `xml:",omitempty"`
    
    	// A percentage value that indicates the size of the policy in packed form.
    	// The service rejects any policy with a packed size greater than 100 percent,
    	// which means the policy exceeded the allowed space.
    	PackedPolicySize int `xml:",omitempty"`
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            verify(treeHandle, times(1)).release();
        }
    
        @Test
        @DisplayName("Iterator should handle filter that rejects all entries")
        void testIterator_FilterRejectsAll() throws Exception {
            // Given: A filter that rejects everything
            when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
            when(locator.getURL()).thenReturn(createSmbURL("smb://"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

    import java.util.Set;
    import okhttp3.CertificatePinner;
    import okhttp3.Interceptor;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CheckHandshake {
      /** Rejects otherwise-trusted certificates. */
      private static final Interceptor CHECK_HANDSHAKE_INTERCEPTOR = new Interceptor() {
        final Set<String> denylist = Collections.singleton(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertFalse(itr.hasNext());
        }
    
        @Test
        @DisplayName("Filter rejects first, accepts second; interactions verified")
        void filterRejectsThenAccepts_nextYieldsAccepted() throws Exception {
            // Arrange: two entries; filter rejects first, accepts second
            setupParentForUrlCreation();
            StubFileEntry skip = new StubFileEntry("SKIPME", SmbConstants.TYPE_SERVER);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTransportImplTest.java

            @Test
            @DisplayName("createEncryptionContext rejects when SMB2/3 not negotiated")
            void createEncryptionContext_rejects_noNegotiation() {
                assertThrows(SmbUnsupportedOperationException.class, () -> transport.createEncryptionContext(new byte[] { 1 }, null));
            }
    
            @Test
            @DisplayName("createEncryptionContext rejects pre-SMB3 dialect")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor");
            }
    
            @ParameterizedTest
            @DisplayName("Rejects non-IPC$ URLs")
            @ValueSource(strings = { "smb://server/C$/foo", "smb://server/public/foo", "smb://server/share/path" })
            void rejectsNonIpcShare(String url) {
                // Arrange & Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64error.s

    	VPGATHERDQ Y5, 664(DX*8), Y6    // ERROR "invalid instruction"
    	VPGATHERDQ Y5, (DX), Y0         // ERROR "invalid instruction"
    	// VM/X rejects Y index register.
    	VPGATHERDQ Y5, 664(Y14*8), Y6   // ERROR "invalid instruction"
    	VPGATHERQQ X2, (BP)(Y7*2), X1   // ERROR "invalid instruction"
    	// VM/Y rejects X index register.
    	VPGATHERQQ Y2, (BP)(X7*2), Y1   // ERROR "invalid instruction"
    	VPGATHERDD Y5, -8(X14*8), Y6    // ERROR "invalid instruction"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileFilterTest.java

            // negative size -> reject
            when(smbFile.length()).thenReturn(-1L);
            assertFalse(filter.accept(smbFile), "Negative size should be rejected");
            verify(smbFile, times(1)).length();
    
            // zero size -> reject
            reset(smbFile);
            when(smbFile.length()).thenReturn(0L);
            assertFalse(filter.accept(smbFile), "Zero size should be rejected");
            verify(smbFile, times(1)).length();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top