Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for Butcher (0.22 sec)

  1. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.putLong(0x0807060504030201L);
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testChar() {
        TestHasher hasher = new TestHasher();
        hasher.putChar((char) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. internal/config/etcd/etcd.go

    	if !cfg.Enabled {
    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    	cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix)
    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    func parseEndpoints(endpoints string) ([]string, bool, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

            return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8));
        }
    
        protected boolean isTarget(final String path) {
            return pattern.matcher(path).find();
        }
    
        protected abstract DictionaryFile<? extends DictionaryItem> newDictionaryFile(String id, String path, Date timestamp);
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         * @return accepted api changes reported upon, as a file
         */
        private static File getAcceptedApiChangesFile(RichReportData data) {
            def matcher = data.description =~ acceptedChangesRegex
            return new File(matcher[0][1])
        }
    
        private static RichReportData enrichReport(RichReportData data) {
            String currentApiChanges = getAcceptedApiChangesFile(data).text
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      public final Hasher putShort(short s) {
        buffer.putShort(s);
        munchIfFull();
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putChar(char c) {
        buffer.putChar(c);
        munchIfFull();
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putInt(int i) {
        buffer.putInt(i);
        munchIfFull();
        return this;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

            if (c.name.startsWith("java.")) {
                return false
            } else if (c.name.contains('.internal.')) {
                return true
            } else {
                return !publicApiPatterns.any { it.matcher(c.name).find() }
            }
        }
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
      public boolean accept(File dir, String fileName) {
        return pattern.matcher(fileName).matches();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                    String filename = file.getFileName().toString();
                    if (mavenArtifactJar.matcher(filename).matches()) {
                        Process p = Runtime.getRuntime().exec(new String[] {
                            Paths.get(System.getProperty("java.home"), "bin/java").toString(),
                            "-jar",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                if (StringUtil.isNotBlank(content)) {
                    contentList.add(content);
                }
                for (final Pair<Pattern, String> regexData : pair.getSecond()) {
                    if (regexData.getFirst().matcher(query).matches()) {
                        contentList.add(regexData.getSecond().replace(queryPlaceHolder, query));
                    }
                }
                return contentList.toArray(new String[contentList.size()]);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. tests/test_ws_router.py

        """
        caught = []
    
        @websocket_middleware
        async def catcher(websocket, call_next):
            try:
                return await call_next()
            except Exception as e:  # pragma: no cover
                caught.append(e)
                raise
    
        myapp = make_app(middleware=[Middleware(catcher)])
    
        client = TestClient(myapp)
        with pytest.raises(WebSocketDisconnect) as e:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top