Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1701 - 1710 of 2,682 for latch (0.04 seconds)

  1. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

        // Simple OID format: numbers separated by dots (at least one dot)
        private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+");
    
        @Test
        @DisplayName("Constant values match expected OIDs")
        void constantValues() {
            assertEquals("1.3.6.1.5.5.2", SpnegoConstants.SPNEGO_MECHANISM, "SPNEGO_MECHANISM mismatch");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         */
        @Test
        public void testModularOption() {
            String[] formatted = JavaPathType.patchModule("my.module").option(paths());
            assertEquals(2, formatted.length);
            assertEquals("--patch-module", formatted[0]);
            assertEquals(toPlatformSpecific("my.module=src/foo.java:src/bar.java"), formatted[1]);
        }
    
        /**
         * Tests the {@code equals} and {@code hashCode} methods of options.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 13 14:20:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

                        null,
                        type.isIncludesDependencies(),
                        type.getLanguage().id(),
                        type.getPathTypes().contains(JavaPathType.CLASSES));
                // TODO: watch out for module path
            });
    
            // Note: here, type decides is artifact added to "build path" (for example during resolution)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. internal/kms/secret-key_test.go

    		Name:       key.KeyID,
    		Ciphertext: key.Ciphertext,
    	})
    	if err != nil {
    		t.Fatalf("Failed to decrypt key: %v", err)
    	}
    	if !bytes.Equal(key.Plaintext, plaintext) {
    		t.Fatalf("Decrypted key does not match generated one: got %x - want %x", key.Plaintext, plaintext)
    	}
    }
    
    func TestDecryptKey(t *testing.T) {
    	KMS, err := ParseSecretKey("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=")
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. .github/workflows/create_issue.js

      @return {string} Returns the issue number and title
    */
    module.exports = async ({github, context}) => {
      const rollback_commit = context.payload.head_commit.id;
      const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || [];
      if (pr_match_groups.length != 2) {
        console.log(`PR Number not found in ${context.payload.head_commit.message}`);
        throw "Error extracting PR Number from commit message";
      }
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Oct 18 23:04:59 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java

        }
    
        /**
         * Fetch all tags matching the specified pattern, returning them as {@link QualifiedVersion} instances.
         * @param pattern the tag pattern to match
         * @return matching versions
         */
        public Stream<QualifiedVersion> listVersions(String pattern) {
            return runCommand("git", "tag", "-l", pattern).lines().map(QualifiedVersion::of);
        }
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 3K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java

                                    currentID = "";
                                }
                            }
                        }
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                    _defaultParallel = socketToCore.values().stream().mapToInt(i -> i).sum();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Aug 09 07:39:30 GMT 2021
    - 3.6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5ConnectionMonitorTarget.java

                clientConnectionManager.closeExpired();
                // Close idle connections
                clientConnectionManager.closeIdle(TimeValue.ofMilliseconds(idleConnectionTimeout));
            } catch (final Exception e) {
                logger.warn("A connection monitoring exception occurs.", e);
            }
        }
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                    webConfigService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                    logger.info("Created web config: {}", entity.getName());
                } catch (final Exception e) {
                    logger.warn("Failed to create web config: {}", form.name, e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  10. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top