Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 1,949 for Used (0.07 sec)

  1. src/bytes/buffer_test.go

    	check(t, "NewBuffer", buf, testString)
    }
    
    var buf Buffer
    
    // Calling NewBuffer and immediately shallow copying the Buffer struct
    // should not result in any allocations.
    // This can be used to reset the underlying []byte of an existing Buffer.
    func TestNewBufferShallow(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t)
    	n := testing.AllocsPerRun(1000, func() {
    		buf = *NewBuffer(testBytes)
    	})
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    @DisplayName("NegTokenInit SPNEGO Token Tests")
    class NegTokenInitTest {
    
        // Common OIDs used in tests
        private static final ASN1ObjectIdentifier OID_KRB = new ASN1ObjectIdentifier(SpnegoConstants.KERBEROS_MECHANISM);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          connectionPool.connectionListener.connectStart(route, call)
    
          connectSocket()
          success = true
          return ConnectResult(plan = this)
        } catch (e: IOException) {
          // If we used the ProxySelector, and got a IOException during connect, report the failure.
          if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) {
            route.address.proxySelector.connectFailed(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 19.3K bytes
    - Viewed (2)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

     *   <li>Applies managed dependency metadata (version, scope, optional flag, exclusions) to direct dependencies</li>
     *   <li>Removes managed dependencies that are not used by direct dependencies</li>
     *   <li>Retains only managed dependencies that appear in the resolved dependency tree</li>
     * </ul>
     * <p>
     * <b>Repository and Profile Pruning</b>: The consumer POM removal strategy:
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

    import jcifs.CIFSException;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryEnumIteratorBaseTest {
    
        // Simple FileEntry implementation used for tests
        private static FileEntry entry(String name) {
            return new FileEntry() {
                @Override
                public String getName() {
                    return name;
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

         * as defined in plugin.xml since 4.0.0-alpha-3.
         *
         * @param requiredMavenVersion Maven version required by the plugin
         * @since 3.0.2
         */
        // used by maven-core's org.apache.maven.plugin.internal.DefaultMavenPluginManager#getPluginDescriptor(...)
        // and PluginDescriptorBuilder since 4.0.0-alpha-3
        public void setRequiredMavenVersion(String requiredMavenVersion) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Closer.java

     * >try-with-resources</a> statement in JDK6-compatible code. Code using this should be
     * approximately equivalent in behavior to the same code written with try-with-resources.
     *
     * <p>This class is intended to be used in the following pattern:
     *
     * {@snippet :
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            Field addrEntryField = NameServicePacket.class.getDeclaredField("addrEntry");
            addrEntryField.setAccessible(true);
    
            // Need to set 'recordName' for NbtAddress constructor, as it's used internally by NbtAddress.toString()
            Field recordNameField = NameServicePacket.class.getDeclaredField("recordName");
            recordNameField.setAccessible(true);
            Name mockRecordName = new Name(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        @Test
        @DisplayName("Null resourceLoc is accepted but may cause issues later")
        void constructorNullResourceLoc() {
            // Null resourceLoc doesn't throw NPE immediately - it's stored and may cause issues when used
            // This test documents the current behavior
            SmbTreeConnection freshConnection = mock(SmbTreeConnection.class);
            when(freshConnection.acquire()).thenReturn(freshConnection);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    return session;
                }
                newSession = new DefaultRepositorySystemSession(session);
            } else {
                newSession = new DefaultRepositorySystemSession(h -> false); // no close handle used
            }
    
            final LocalRepositoryManager llrm =
                    system.newLocalRepositoryManager(newSession, new LocalRepository(repository.getBasedir()));
            newSession.setLocalRepositoryManager(llrm);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top