Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2711 - 2720 of 3,473 for onea (0.27 seconds)

  1. internal/ringbuffer/ring_buffer.go

    		}
    	} else {
    		copy(r.buf[r.w:], p)
    		r.w += n
    	}
    
    	if r.w == r.size {
    		r.w = 0
    	}
    	if r.w == r.r {
    		r.isFull = true
    	}
    
    	return n, err
    }
    
    // WriteByte writes one byte into buffer, and returns ErrIsFull if buffer is full.
    func (r *RingBuffer) WriteByte(c byte) error {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	if err := r.err; err != nil {
    		if err == io.EOF {
    			err = ErrWriteOnClosed
    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. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertSame(c, second, "Second get should return second cached buffer");
            assertNotSame(d, third, "Third get should allocate a new buffer (not the dropped one)");
            assertEquals(3, third.length, "Allocated buffer length matches configured maximum size");
        }
    
        // Parameterized: exercise small variations of cache size for a simple reuse cycle
        @ParameterizedTest
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        @DisplayName("close() clears pending element and hasNext() becomes false")
        void closeClearsNext() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Collections.singletonList(entry("one", SmbConstants.TYPE_SHARE));
            ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), null);
    
            assertTrue(it.hasNext());
            it.close();
            assertFalse(it.hasNext());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

    name: Feature Addition Request
    description: I want to add a new feature
    labels: ["type=addition"]
    body:
      - type: markdown
        attributes:
          value: >
            Filing feature requests is one of the most popular ways to contribute to Guava.
    
    
            Be aware, though: most feature requests are not accepted, even if they're suggested by
            a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from our
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       */
      val scheduledTasks: List<Task>
        get() = taskRunner.withLock { futureTasks.toList() }
    
      /**
       * Schedules [task] for execution in [delayNanos]. A task may only have one future execution
       * scheduled. If the task is already in the queue, the earliest execution time is used.
       *
       * The target execution time is implemented on a best-effort basis. If another task in this queue
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * 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
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Then
            assertNotNull(addresses, "Should return addresses array");
            assertTrue(addresses.length > 0, "Should return at least one address");
        }
    
        @Test
        @DisplayName("Should handle NetBIOS name resolution with timeout")
        @Timeout(value = 2, unit = TimeUnit.SECONDS) // Force test timeout
        void testGetNbtByName() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * 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
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * 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
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 16 14:15:37 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * 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
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top