Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3681 - 3690 of 6,970 for sering (0.08 seconds)

  1. docs/debugging/hash-set/main.go

    import (
    	"bufio"
    	"bytes"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"log"
    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Click Count (0)
  2. internal/http/listener.go

    	NoDelay     bool             // Indicates callers to enable TCP_NODELAY on the net.Conn
    	Interface   string           // This is a VRF device passed via `--interface` flag
    	Trace       func(msg string) // Trace when starting.
    	IdleTimeout time.Duration    // Incoming TCP read/write timeout
    }
    
    // ForWebsocket returns TCPOptions valid for websocket net.Conn
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/bufio/example_test.go

    	data := "Hello, world!\nThis is a ReadFrom example."
    	reader := strings.NewReader(data)
    
    	n, err := writer.ReadFrom(reader)
    	if err != nil {
    		fmt.Println("ReadFrom Error:", err)
    		return
    	}
    
    	if err = writer.Flush(); err != nil {
    		fmt.Println("Flush Error:", err)
    		return
    	}
    
    	fmt.Println("Bytes written:", n)
    	fmt.Println("Buffer contents:", buf.String())
    	// Output:
    	// Bytes written: 41
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Lists.java

        return new CharSequenceAsList(checkNotNull(sequence));
      }
    
      @SuppressWarnings("serial") // serialized using ImmutableList serialization
      private static final class StringAsImmutableList extends ImmutableList<Character> {
    
        private final String string;
    
        StringAsImmutableList(String string) {
          this.string = string;
        }
    
        @Override
        public int indexOf(@Nullable Object object) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

    /**
     * Admin action for Path Map management.
     *
     */
    public class AdminPathmapAction extends FessAdminAction {
    
        /**
         * Role identifier for admin path mapping operations.
         */
        public static final String ROLE = "admin-pathmap";
    
        private static final Logger logger = LogManager.getLogger(AdminPathmapAction.class);
    
        /**
         * Default constructor for AdminPathmapAction.
         */
        public AdminPathmapAction() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        @Test
        @DisplayName("Multiple server names should be handled correctly")
        void testDifferentServerNames() {
            // Test with different server names
            String[] serverNames = { "server1", "domain.local", "192.168.1.100", "FILESERVER" };
    
            for (String serverName : serverNames) {
                MsrpcDfsRootEnum enumInstance = new MsrpcDfsRootEnum(serverName);
                assertEquals(serverName, enumInstance.dfs_name);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  7. docs_src/query_params_str_validations/tutorial008_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 434 bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * {@return an immutable map of the project properties}.
         *
         * @param project the project for which to get the properties
         *
         * @see #setProperty(Project, String, String)
         */
        @Nonnull
        Map<String, String> getProperties(@Nonnull Project project);
    
        /**
         * Set a given project property. Properties set through this method are only valid
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/text/ReplaceIsFalse.java

    public class ReplaceIsFalse extends ReplaceTextual {
        public ReplaceIsFalse(String valueToBeReplaced, TextNode replacementNode) {
            super("is_false", valueToBeReplaced, replacementNode);
        }
    
        public ReplaceIsFalse(String valueToBeReplaced, TextNode replacementNode, String testName) {
            super("is_false", valueToBeReplaced, replacementNode, testName);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 859 bytes
    - Click Count (0)
  10. cmd/metacache-entries_test.go

    	if !reflect.DeepEqual(want, got) {
    		t.Errorf("got unexpected result: %#v", got)
    	}
    }
    
    func Test_metaCacheEntry_isInDir(t *testing.T) {
    	tests := []struct {
    		testName string
    		entry    string
    		dir      string
    		sep      string
    		want     bool
    	}{
    		{
    			testName: "basic-file",
    			entry:    "src/file",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 31.6K bytes
    - Click Count (0)
Back to Top