Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for rune (0.14 sec)

  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'
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	} else if err != io.EOF {
    		t.Error("expected EOF; got", err)
    	}
    }
    
    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 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    	ss := re.FindStringSubmatch(path)
    	if ss == nil {
    		return "", "", fmt.Errorf("not a DR path: %s", path)
    	}
    	return ss[3], ss[2], nil
    }
    
    // getIstioDestinationRulePathForSvc returns something like "/apis/networking/v1alpha3/namespaces/default/destination-rule/reviews"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    		fmt.Fprint(os.Stderr, "EOF\n")
    	}
    	stdout, stderr, _ := run(stdin, nargs)
    	if *debugGcc {
    		os.Stderr.Write(stdout)
    		os.Stderr.Write(stderr)
    	}
    	return string(stderr)
    }
    
    // runGcc runs the gcc command line args with stdin on standard input.
    // If the command exits with a non-zero exit status, runGcc prints
    // details about what was run and exits.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    nil,
    			expectedValidationErr: nil,
    		},
    		// Lifecycle with empty Filter tag
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. configure.py

      write_action_env_to_bazelrc('CLANG_CUDA_COMPILER_PATH',
                                  clang_cuda_compiler_path)
      return clang_cuda_compiler_path
    
    
    def create_android_ndk_rule(environ_cp):
      """Set ANDROID_NDK_HOME and write Android NDK WORKSPACE rule."""
      if is_windows() or is_cygwin():
        default_ndk_path = cygpath('%s/Android/Sdk/ndk-bundle' %
                                   environ_cp['APPDATA'])
      elif is_macos():
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            for (final UnaryOperator<String> rule : docSettingRewriteRuleList) {
                source = rule.apply(source);
            }
            return source;
        }
    
        public void addDocumentSettingRewriteRule(final UnaryOperator<String> rule) {
            docSettingRewriteRuleList.add(rule);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

         */
        public ListenableFuture<?> run(final Runnable combiner, Executor executor) {
          return call(
              new Callable<@Nullable Void>() {
                @Override
                @CheckForNull
                public Void call() throws Exception {
                  combiner.run();
                  return null;
                }
              },
              executor);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		Code:           "InvalidArgument",
    		Description:    "An object key name filtering rule defined with overlapping prefixes, overlapping suffixes, or overlapping combinations of prefixes and suffixes for the same event types.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterNameInvalid: {
    		Code:           "InvalidArgument",
    		Description:    "filter rule name must be either prefix or suffix",
    		HTTPStatusCode: http.StatusBadRequest,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. cmd/test-utils_test.go

    		}
    	}
    }
    
    // ExecObjectLayerAPITest - executes object layer API tests.
    // Creates single node and Erasure ObjectLayer instance, registers the specified API end points and runs test for both the layers.
    func ExecObjectLayerAPITest(t *testing.T, objAPITest objAPITestType, endpoints []string) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	// reset globals.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top