Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1291 - 1300 of 2,682 for latch (0.1 seconds)

  1. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        }
    
        @Override
        public void remove() {
          iterator.remove();
        }
      }
    
      public void testPeekingIteratorDoesntAdvancePrematurely() throws Exception {
        /*
         * This test will catch problems where the underlying iterator
         * throws a RuntimeException when retrieving the nth element.
         *
         * If the PeekingIterator is caching elements too aggressively,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                        @Override
                        public void execute(Task task) {
                            try {
                                Files.createDirectories(testfixturesDir.toPath());
                            } catch (IOException e) {
                                throw new UncheckedIOException(e);
                            }
                        }
                    });
                });
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  3. tests/test_dependency_after_yield_websockets.py

            assert data == "bar"
            data = websocket.receive_text()
            assert data == "baz"
    
    
    def test_websocket_dependency_after_yield_broken():
        with pytest.raises(ValueError, match="Session closed"):
            with client.websocket_connect("/ws-broken"):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. statement_test.go

    		`"User__Company".*`:  {"User__Company", "*"},
    		`"table"."*"`:        {"", ""},
    	} {
    		if table, column := matchName(k); table != v[0] || column != v[1] {
    			t.Errorf("failed to match value: %v, got %v, expect: %v", k, []string{table, column}, v)
    		}
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Dec 23 13:19:41 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  5. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows.yml

              properties-file: '.ci/java-versions.properties'
              properties-content: |
                JAVA_HOME=$USERPROFILE\\.java\\$ES_BUILD_JAVA
                RUNTIME_JAVA_HOME=$USERPROFILE\\.java\\$ES_RUNTIME_JAVA
          - batch: |
              del /f /s /q %USERPROFILE%\.gradle\init.d\*.*
              mkdir %USERPROFILE%\.gradle\init.d
              copy .ci\init.gradle %USERPROFILE%\.gradle\init.d\
              (
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 18:50:27 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

              } catch (RuntimeException e) {
                throw new RuntimeException(
                    Strings.lenientFormat(
                        "byAscendingSize %s, startIndex %s, inputIsSet %s",
                        byAscendingSize, startIndex, inputIsSet),
                    e);
              }
              /*
               * TODO(cpovirk): Check that the values match one of candidates that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/DefaultPortDetector.java

                try {
                    ds.setReuseAddress(true);
                } finally {
                    ds.close();
                }
    
                return true;
            } catch (IOException e) {
                return false;
            }
    
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/util/MimeMapTest.java

            void testEmptyExtensions() throws IOException {
                // Empty extension seems to match first entry in mime.map
                String result = mimeMap.getMimeType("");
                assertNotNull(result);
                // With custom default, empty still returns the first match
                String customResult = mimeMap.getMimeType("", "custom/default");
                assertNotNull(customResult);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. cmd/object-api-utils.go

    // Returns the part file name which matches the partNumber and etag.
    func getPartFile(entriesTrie *trie.Trie, partNumber int, etag string) (partFile string) {
    	for _, match := range entriesTrie.PrefixMatch(fmt.Sprintf("%.5d.%s.", partNumber, etag)) {
    		partFile = match
    		break
    	}
    	return partFile
    }
    
    func partNumberToRangeSpec(oi ObjectInfo, partNumber int) *HTTPRangeSpec {
    	if oi.Size == 0 || len(oi.Parts) == 0 {
    		return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/orig/view/error/badRequest.jsp

    	<script type="text/javascript" src="${fe:url('/js/suggestor.js')}"></script>
    	<script type="text/javascript" src="${fe:url('/js/search.js')}"></script>
    </body>
    ${fe:html(false)}
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 1.5K bytes
    - Click Count (0)
Back to Top