Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 307 for ValueOf (0.03 sec)

  1. docs/smb3-features/03-multi-channel-design.md

        }
    }
    
    public LoadBalancingStrategy getLoadBalancingStrategy() {
        String strategy = getProperty(LOAD_BALANCING_STRATEGY, "adaptive");
        return LoadBalancingStrategy.valueOf(strategy.toUpperCase());
    }
    ```
    
    ## 7. Testing Strategy
    
    ### 7.1 Unit Tests
    ```java
    @Test
    public void testChannelSelection() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE);
                indexRequestBuilder.setIndex(indexName).setId(String.valueOf(i)).setCreate(true).setSource(source);
                bulkRequestBuilder.add(indexRequestBuilder);
            }
            bulkRequestBuilder.execute().actionGet();
            runner.refresh();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ShortsTest.java

          fail("Cast to short should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (short x : VALUES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                    if (CharUtil.isUrlChar(c) || c == '^' || c == '{' || c == '}' || c == '|' || c == '\\') {
                        buf.append(c);
                    } else {
                        buf.append(URLEncoder.encode(String.valueOf(c), filterPathEncoding));
                    }
                }
                return buf.toString();
            } catch (final UnsupportedEncodingException e) {
                return path;
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (int x : VALUES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

        for (char c : chars) {
          positive.add(c);
        }
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
          assertFalse(positive.contains(Character.valueOf((char) c)) ^ m.matches((char) c));
        }
      }
    
      static char[] randomChars(Random rand, int size) {
        Set<Character> chars = new HashSet<>(size);
        for (int i = 0; i < size; i++) {
          char c;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            q.add(next);
            contents.add(next);
            assertThat(q).containsExactlyElementsIn(contents);
            q.remove(i);
            assertTrue(contents.remove(Integer.valueOf(i)));
            assertThat(q).containsExactlyElementsIn(contents);
            assertEquals(next, q.poll());
            contents.remove(next);
            assertThat(q).containsExactlyElementsIn(contents);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                // Log circuit breaker rejection
                auditLogger.logSecurityViolation("Circuit breaker open for SMB connection",
                        java.util.Map.of("address", address.getHostAddress(), "port", String.valueOf(port)));
                throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e);
            } catch (RuntimeException e) {
                // Unwrap IOException from RuntimeException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  9. okhttp/api/android/okhttp.api

    	public static final fun get (Ljava/lang/String;)Lokhttp3/Protocol;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public fun toString ()Ljava/lang/String;
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/Protocol;
    	public static fun values ()[Lokhttp3/Protocol;
    }
    
    public final class okhttp3/Protocol$Companion {
    	public final fun get (Ljava/lang/String;)Lokhttp3/Protocol;
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    .register("https", sslSocketFactory)
                    .build();
    
            final long timeToLive = getInitParameter(TIME_TO_LIVE_PROPERTY, 5L, Long.class);
            final TimeUnit timeUnit = TimeUnit.valueOf(getInitParameter(TIME_TO_LIVE_TIME_UNIT_PROPERTY, "MINUTES", String.class));
            final int maxTotal = getInitParameter(MAX_TOTAL_CONNECTION_PROPERTY, 200, Integer.class);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top