Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 934 for breaks (0.05 seconds)

  1. guava-testlib/src/com/google/common/testing/DummyProxy.java

            Class<?> current = iterator.next();
            if (current == itf || itf.isAssignableFrom(current)) {
              // Skip any super interface of the ones that are already included.
              addToSet = false;
              break;
            }
          }
          if (addToSet) {
            interfaceClasses.add(itf);
          }
        }
        // Make the proxy serializable to work with SerializableTester
        interfaceClasses.add(Serializable.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

                                // Some failures
                                breaker.call(() -> {
                                    throw new RuntimeException("Test");
                                });
                            } else {
                                // Some successes
                                breaker.call(() -> "success");
                                successCount.incrementAndGet();
                            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt

              i.remove()
              return recordedResponse
            }
          }
          val nowMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime())
          if (nowMillis >= timeoutMillis) break
          (this as Object).wait(timeoutMillis - nowMillis)
        }
    
        throw AssertionError("Timed out waiting for response to $url")
      }
    
      companion object {
        val TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            boolean hasCronExpression = false;
            for (Annotation annotation : paramAnnotations[0]) {
                if (annotation instanceof CronExpression) {
                    hasCronExpression = true;
                    break;
                }
            }
            assertTrue(hasCronExpression);
        }
    
        // Test annotation on constructor parameter
        @Test
        public void test_annotationOnConstructor() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. internal/logger/target/http/http.go

    			default:
    			}
    		}
    
    		if mainWorker {
    		drain:
    			for {
    				select {
    				case v, ok := <-h.logCh:
    					if !ok {
    						break drain
    					}
    
    					currentGlobalBuffer <- v
    				default:
    					break drain
    				}
    			}
    		}
    	}()
    
    	lastBatchProcess := time.Now()
    
    	buf := bytebufferpool.Get()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/IntMath.java

          // fall through
          case DOWN:
            increment = false;
            break;
          case UP:
            increment = true;
            break;
          case CEILING:
            increment = signum > 0;
            break;
          case FLOOR:
            increment = signum < 0;
            break;
          case HALF_EVEN:
          case HALF_DOWN:
          case HALF_UP:
            int absRem = abs(rem);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                            result = false;
                            break;
                        }
                    }
                    // check for exact match
                    else if (repo.equals(originalId)) {
                        result = true;
                        break;
                    }
                    // check for external:*
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  8. cmd/erasure-healing-common_test.go

    						Recursive: false,
    						Immediate: false,
    					})
    					if dErr != nil {
    						t.Fatalf("Failed to delete %s - %v", filepath.Join(object, "part.1"), dErr)
    					}
    					break
    				}
    			case corruptPart:
    				for index, err := range test.errs {
    					if err != nil {
    						continue
    					}
    					// Corrupt a part from a disk
    					// which has a valid xl.meta,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  finalResults.add(result);
                  break;
                } catch (ExecutionException e) {
                  finalResults.add(e.getCause());
                  break;
                } catch (CancellationException e) {
                  finalResults.add(CancellationException.class);
                  break;
                } catch (TimeoutException e) {
                  // loop
                }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  10. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
          int placeholderStart = template.indexOf("%s", templateStart);
          if (placeholderStart == -1) {
            break;
          }
          builder.append(template.substring(templateStart, placeholderStart));
          builder.append(args[i++]);
          templateStart = placeholderStart + 2;
        }
        builder.append(template.substring(templateStart));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top