Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2861 - 2870 of 7,900 for usen (0.02 seconds)

  1. internal/ringbuffer/ring_buffer.go

    	buf := *(*[]byte)(unsafe.Pointer(&h))
    	return r.Write(buf)
    }
    
    // Bytes returns all available read bytes.
    // It does not move the read pointer and only copy the available data.
    // If the dst is big enough it will be used as destination,
    // otherwise a new buffer will be allocated.
    func (r *RingBuffer) Bytes(dst []byte) []byte {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	getDst := func(n int) []byte {
    		if cap(dst) < n {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. docs_src/extra_models/tutorial001_py39.py

    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
        user_saved = fake_save_user(user_in)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 949 bytes
    - Click Count (0)
  3. schema/index_test.go

    }
    
    type CompIdxLevel2B struct {
    	Data2B string `gorm:"index:,unique,composite:comp_id2,priority:3"`
    }
    
    func TestParseIndex(t *testing.T) {
    	user, err := schema.Parse(&UserIndex{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user index, got error %v", err)
    	}
    
    	results := []*schema.Index{
    		{
    			Name:   "idx_user_indices_name",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         * Sets the local repository to use.
         *
         * @param localRepository The local repository to use.
         * @return This request, never {@code null}.
         */
        RepositoryRequest setLocalRepository(ArtifactRepository localRepository);
    
        /**
         * Gets the remote repositories to use.
         *
         * @return The remote repositories to use, never {@code null}.
         */
        List<ArtifactRepository> getRemoteRepositories();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. src/bufio/bufio_test.go

    func (r dataAndEOFReader) Read(p []byte) (int, error) {
    	return copy(p, r), io.EOF
    }
    
    func TestPeekThenUnreadRune(t *testing.T) {
    	// This sequence used to cause a crash.
    	r := NewReader(strings.NewReader("x"))
    	r.ReadRune()
    	r.Peek(1)
    	r.UnreadRune()
    	r.ReadRune() // Used to panic here
    }
    
    var testOutput = []byte("0123456789abcdefghijklmnopqrstuvwxy")
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  7. internal/s3select/json/preader.go

    	bufferPool  bpool.Pool[[]byte]        // pool of []byte objects for input
    	kvDstPool   bpool.Pool[[]jstream.KVS] // pool of []jstream.KVS used for output
    	close       chan struct{}             // used for shutting down the splitter before end of stream
    	readerWg    sync.WaitGroup            // used to keep track of async reader.
    }
    
    // queueItem is an item in the queue.
    type queueItem struct {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/io/TraversalUtil.java

        }
    
        /**
         * Returns a {@link Traverser} that handles a collection of resources or classes based on the specified class.
         * <p>
         * The {@link Traverser} returned by this method uses the path where the specified class can be referenced by its FQN as the root.
         * For example, if the specified class is <code>foo.Bar</code> and its class file is located at <code>classes/foo/Bar.class</code>,
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

     * more adapted algorithms.
     *
     * @deprecated use {@code org.apache.maven.impl.model.MavenModelMerger} instead
     */
    @Deprecated(since = "4.0.0")
    public class MavenModelMerger extends ModelMerger {
    
        /**
         * The hint key for the child path adjustment used during inheritance for URL calculations.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

        server.enqueue(socketHandler.upgradeResponse())
    
        client
          .newCall(request)
          .execute()
          .use { response ->
            assertThat(response.code).isEqualTo(HTTP_SWITCHING_PROTOCOLS)
            val socket = response.socket!!
            socket.sink.buffer().use { sink ->
              socket.source.buffer().use { source ->
                sink.writeUtf8("client says hello\n")
                sink.flush()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top