Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1061 - 1070 of 1,497 for match1 (0.05 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

                    return false;
                }
            });
    
            final MockHttpServletRequest request = new MockHttpServletRequest();
            request.setServletPath("/api/v1/chat");
    
            assertFalse(chatApiManager.matches(request));
        }
    
        @Test
        public void test_matches_ragChatEnabled_validPath() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    Let's put that data in the Pydantic `UserInDB` model first.
    
    You should never save plaintext passwords, so, we'll use the (fake) password hashing system.
    
    If the passwords don't match, we return the same error.
    
    #### Password hashing { #password-hashing }
    
    "Hashing" means: converting some content (a password in this case) into a sequence of bytes (just a string) that looks like gibberish.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/MoreFilesTest.java

                  Files.createFile(dirToDelete.resolve("j/k"));
                } catch (FileAlreadyExistsException expected) {
                  // if a file already exists, that's fine... just continue
                }
    
                try {
                  method.delete(dirToDelete);
                } catch (FileSystemException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

        public boolean contains(@Nullable Object o) {
          if (o == null) {
            return false;
          }
          try {
            @SuppressWarnings("unchecked") // we catch CCE's
            C c = (C) o;
            return ImmutableRangeSet.this.contains(c);
          } catch (ClassCastException e) {
            return false;
          }
        }
    
        @Override
        int indexOf(@Nullable Object target) {
          if (contains(target)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            final int size = readUnsignedShort();
            final byte[] b = new byte[size];
            read(b, 0, size);
            try {
                return Encdec.dec_utf8(b, 0, size);
            } catch (final IOException ioe) {
                throw new SmbException("", ioe);
            }
        }
    
        @Override
        public final void writeBoolean(final boolean v) throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

                int decodedBytes = decoded.decode(buffer, 0, buffer.length);
    
                assertEquals(8, decodedBytes);
    
                // Verify values match
                assertEquals(original.toString(), decoded.toString());
            }
        }
    
        @Test
        @DisplayName("Test decode with minimum buffer size")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isLessThan
    import assertk.assertions.isLessThanOrEqualTo
    import assertk.assertions.isSameInstanceAs
    import assertk.assertions.matches
    import java.net.UnknownHostException
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.HttpUrl
    import okhttp3.Interceptor
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  10. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

          val response = completableFuture.get(10, TimeUnit.SECONDS)
    
          assertEquals(200, response.code)
          assertEquals("h3", response.negotiatedProtocol)
          assertTrue(response.content.contains("Disallow"))
        } catch (ee: ExecutionException) {
          throw ee.cause?.cause ?: ee.cause!!
        }
      }
    
      data class Response(
        val code: Int,
        val negotiatedProtocol: String,
        val content: String,
      )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top