Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,011 for Present (1.39 sec)

  1. src/archive/zip/register.go

    type Decompressor func(r io.Reader) io.ReadCloser
    
    var flateWriterPool sync.Pool
    
    func newFlateWriter(w io.Writer) io.WriteCloser {
    	fw, ok := flateWriterPool.Get().(*flate.Writer)
    	if ok {
    		fw.Reset(w)
    	} else {
    		fw, _ = flate.NewWriter(w, 5)
    	}
    	return &pooledFlateWriter{fw: fw}
    }
    
    type pooledFlateWriter struct {
    	mu sync.Mutex // guards Close and Write
    	fw *flate.Writer
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileTest.java

            // Mock configuration methods
            when(mockConfig.getPid()).thenReturn(1234);
            when(mockCifsContext.getConfig()).thenReturn(mockConfig);
    
            // Mock credentials to prevent NPE
            when(mockCredentials.getUserDomain()).thenReturn("DOMAIN");
            when(mockCifsContext.getCredentials()).thenReturn(mockCredentials);
    
            // Create URL handler
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. .github/workflows/update-rbe.yml

    # limitations under the License.
    # ==============================================================================
    
    
    # This Workflow updates tensorflow/tools/toolchains/remote_config/configs.bzl
    # to reference the most recent versions of the SIG Build Docker images.
    name: Update RBE Configs
    on:
      workflow_dispatch:
    
    permissions:
      contents: read
    
    jobs:
      rbe:
        name: Update RBE Configs
        runs-on: ubuntu-latest
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 7.2K bytes
    - Viewed (1)
  4. src/bytes/buffer_test.go

    	buf := NewBuffer(make([]byte, n))
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    		for i := 0; i < n; i++ {
    			buf.WriteByte('x')
    		}
    	}
    }
    
    func BenchmarkWriteRune(b *testing.B) {
    	const n = 4 << 10
    	const r = '☺'
    	b.SetBytes(int64(n * utf8.RuneLen(r)))
    	buf := NewBuffer(make([]byte, n*utf8.UTFMax))
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    		for i := 0; i < n; i++ {
    			buf.WriteRune(r)
    		}
    	}
    }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                return authInfo;
                            }
                        }
                    }
                }
            }
    
            // empty one to prevent NPE
            return new AuthenticationInfo();
        }
    
        @Override
        public ProxyInfo getProxy(String protocol) {
            MavenSession session = legacySupport.getSession();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            // Wait for original TTL to pass
            Thread.sleep(600);
    
            // Should still not be expired because we reset
            assertFalse(auth.isExpired());
    
            // Wait for the full TTL since reset
            Thread.sleep(500);
    
            // Now it should be expired
            assertTrue(auth.isExpired());
        }
    
        /**
         * Test password array independence after construction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

     *
     * This factory attempts to select the best available RDMA provider
     * based on system capabilities and configuration preferences.
     */
    public class RdmaProviderFactory {
    
        /**
         * Private constructor to prevent instantiation
         */
        private RdmaProviderFactory() {
            // Factory class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(RdmaProviderFactory.class);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. prepare_stmt.go

    func (db *PreparedStmtDB) Close() {
    	db.Mux.Lock()
    	defer db.Mux.Unlock()
    
    	for _, key := range db.Stmts.Keys() {
    		db.Stmts.Delete(key)
    	}
    }
    
    // Reset Deprecated use Close instead
    func (db *PreparedStmtDB) Reset() {
    	db.Close()
    }
    
    func (db *PreparedStmtDB) prepare(ctx context.Context, conn ConnPool, isTransaction bool, query string) (_ *stmt_store.Stmt, err error) {
    	db.Mux.RLock()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. cmd/lock-rest-server.go

    		select {
    		case <-ctx.Done():
    			return
    		case <-lkTimer.C:
    			globalLockServer.expireOldLocks(lockValidityDuration)
    
    			// Reset the timer for next cycle.
    			lkTimer.Reset(lockMaintenanceInterval)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top