Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1501 - 1510 of 1,947 for threw (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

                Striped.lazyWeakSemaphore(Integer.MAX_VALUE, Integer.MAX_VALUE),
                Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) {
          for (int i = 0; i < 3; i++) {
            // doesn't throw exception
            Object unused = striped.getAt(Integer.MAX_VALUE - i);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

      }
    
      /**
       * Specifies whether the graph will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a graph that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
      @CanIgnoreReturnValue
      public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

                Striped.lazyWeakSemaphore(Integer.MAX_VALUE, Integer.MAX_VALUE),
                Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) {
          for (int i = 0; i < 3; i++) {
            // doesn't throw exception
            Object unused = striped.getAt(Integer.MAX_VALUE - i);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            byte[] buffer = new byte[100];
    
            // Should work with zero length
            int result = emptyBufferResponse.readDataWireFormat(buffer, 0, 0);
            assertEquals(0, result);
    
            // Should throw exception with non-zero length
            assertThrows(SMBProtocolDecodingException.class, () -> emptyBufferResponse.readDataWireFormat(buffer, 0, 1));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            } catch (IllegalArgumentException e) {
                if (e.getCause() instanceof DecodingException) {
                    return BASE64URL_DECODER.decode(base64String.trim());
                }
                throw e;
            }
        }
    
        /**
         * Processes the callback from OpenID Connect provider.
         *
         * @param request the HTTP servlet request
         * @param code the authorization code
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            try {
                Field field = getField(obj.getClass(), fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
                throw new RuntimeException("Failed to get field value: " + fieldName, e);
            }
        }
    
        private void setFieldValue(Object obj, String fieldName, Object value) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertEquals("3", tokens.get(3).getTerm());
        }
    
        @Test
        public void testAnalyzeTokenPositions() {
            // Test that token positions are correct
            String text = "one two three";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertEquals(3, tokens.size());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

     *
     * @author Sverre Sundsdal
     */
    @NullUnmarked
    public class MinMaxPriorityQueueBenchmark {
      @Param private ComparatorType comparator;
    
      // TODO(kevinb): add 1000000 back when we have the ability to throw
      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                DcerpcException.getMessageByDcerpcError(unknownCode);
            }, "Should throw ArrayIndexOutOfBoundsException due to binary search bug");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                    request.addMetadata(new MetadataBridge(metadata));
                }
            }
    
            try {
                repoSystem.install(session, request);
            } catch (InstallationException e) {
                throw new ArtifactInstallationException(e.getMessage(), e);
            }
    
            /*
             * NOTE: Not used by Maven core, only here to provide backward-compat with plugins like the Install Plugin.
             */
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top