Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for runes (0.05 seconds)

  1. src/bytes/bytes_test.go

    			t.Errorf("%s(%q) = %q; want %q", funcName, tc.in, actual, tc.out)
    		}
    	}
    }
    
    func tenRunes(r rune) string {
    	runes := make([]rune, 10)
    	for i := range runes {
    		runes[i] = r
    	}
    	return string(runes)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	const step = 13
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  2. src/bufio/bufio_test.go

    	}
    }
    
    func TestReadWriteRune(t *testing.T) {
    	const NRune = 1000
    	byteBuf := new(bytes.Buffer)
    	w := NewWriter(byteBuf)
    	// Write the runes out using WriteRune
    	buf := make([]byte, utf8.UTFMax)
    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(buf, r)
    		nbytes, err := w.WriteRune(r)
    		if err != nil {
    			t.Fatalf("WriteRune(0x%x) error: %s", r, err)
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  3. src/archive/zip/reader_test.go

    		File: []ZipTestFile{
    			{
    				Name:    "世界",
    				Content: []byte{},
    				Mode:    0644,
    				// Name is valid UTF-8, but format does not have UTF-8 flag set.
    				// We don't do UTF-8 detection for multi-byte runes due to
    				// false-positives with other encodings (e.g., Shift-JIS).
    				// Format says encoding is not UTF-8, so we trust it.
    				NonUTF8:  true,
    				Modified: time.Date(2017, 11, 6, 13, 9, 27, 0, timeZone(-8*time.Hour)),
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 57.9K bytes
    - Click Count (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    					rules[5],
    				},
    			},
    			opts: ObjectOpts{
    				IsLatest: true,
    				UserTags: "key1=val1",
    				Name:     "obj-1",
    				Size:     1*humanize.MiByte - 1,
    			},
    			hasRules: true,
    		},
    		{ // PUT version with size based filters
    			lc: Lifecycle{
    				Rules: []Rule{
    					rules[1],
    					rules[2],
    					rules[3],
    					rules[4],
    					rules[5],
    				},
    			},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
    
            return node;
        }
    
        /**
         * Prunes unwanted tags from the node based on configuration.
         *
         * @param node the node to prune
         * @param crawlingConfig the crawling configuration containing pruning rules
         * @return the pruned node
         */
        protected Node pruneNode(final Node node, final CrawlingConfig crawlingConfig) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            final FessXpathTransformer transformer = createAnchorListTransformer();
            final Map<String, String> rules = new LinkedHashMap<>();
            rules.put("//A", "href");
            rules.put("//IMG", "src");
            transformer.setChildUrlRuleMap(rules);
    
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

        /**
         * Sets whether to use robots.txt disallow rules.
         *
         * @param useRobotsTxtDisallows True to use disallow rules, false otherwise
         */
        public void setUseRobotsTxtDisallows(final boolean useRobotsTxtDisallows) {
            this.useRobotsTxtDisallows = useRobotsTxtDisallows;
        }
    
        /**
         * Sets whether to use robots.txt allow rules.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

        /**
         * Sets whether to use robots.txt disallow rules.
         *
         * @param useRobotsTxtDisallows True to use disallow rules, false otherwise
         */
        public void setUseRobotsTxtDisallows(final boolean useRobotsTxtDisallows) {
            this.useRobotsTxtDisallows = useRobotsTxtDisallows;
        }
    
        /**
         * Sets whether to use robots.txt allow rules.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  9. docs/changelogs/changelog_3x.md

        request itself.
     *  New: `Headers.Builder.addAll(Headers)`.
     *  New: `ResponseBody.create(MediaType, ByteString)`.
     *  New: Embed R8/ProGuard rules in the jar. These will be applied automatically by R8.
     *  Fix: Release the connection if `Authenticator` throws an exception.
     *  Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

      }
    
      /**
       * Returns true if this type is a supertype of the given {@code type}. "Supertype" is defined
       * according to <a
       * href="https://docs.oracle.com/javase/specs/jls/se25/html/jls-4.html#jls-4.5.1">the rules for
       * type arguments</a> introduced with Java generics.
       *
       * @since 19.0
       */
      public final boolean isSupertypeOf(TypeToken<?> type) {
        return type.isSubtypeOf(getType());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
Back to Top