Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 536 for doFile (0.37 sec)

  1. tests/scan_test.go

    	if err := DB.Table("users").Select("age + age as age").Where("id = ?", user3.ID).Scan(&doubleAgeRes).Error; err != nil {
    		t.Errorf("Scan to pointer of pointer")
    	}
    
    	if doubleAgeRes.Age != int(res.Age)*2 {
    		t.Errorf("Scan double age as age, expect: %v, got %v", res.Age*2, doubleAgeRes.Age)
    	}
    
    	var results []result
    	DB.Table("users").Select("name, age").Where("id in ?", []uint{user2.ID, user3.ID}).Scan(&results)
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/data-scanner-metric.go

    	"sync"
    	"sync/atomic"
    	"time"
    	"unsafe"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    //go:generate stringer -type=scannerMetric -trimprefix=scannerMetric $GOFILE
    
    type scannerMetric uint8
    
    type scannerMetrics struct {
    	// All fields must be accessed atomically and aligned.
    	operations [scannerMetricLast]uint64
    	latency    [scannerMetricLastRealtime]lockedLastMinuteLatency
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 01 06:06:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    // the ErasureInfo, i.e. data and parity blocks.
    func isXLMetaErasureInfoValid(data, parity int) bool {
    	return ((data >= parity) && (data > 0) && (parity >= 0))
    }
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    type xlMetaV1Object struct {
    	Version string   `json:"version"` // Version of the current `xl.meta`.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. api/go1.21.txt

    pkg crypto/elliptic, method (*CurveParams) Double //deprecated #34648
    pkg crypto/elliptic, method (*CurveParams) IsOnCurve //deprecated #34648
    pkg crypto/elliptic, method (*CurveParams) ScalarBaseMult //deprecated #34648
    pkg crypto/elliptic, method (*CurveParams) ScalarMult //deprecated #34648
    pkg crypto/elliptic, type Curve interface, Add //deprecated #52221
    pkg crypto/elliptic, type Curve interface, Double //deprecated #52221
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                        || message.contains("not supported") || message.contains("capability")) {
                    return true;
                }
            }
    
            // If we've had many errors, consider fallback
            double errorRate = statistics.getErrorRate();
            if (errorRate > 0.1) { // More than 10% error rate
                log.warn("High RDMA error rate ({:.1f}%), TCP fallback recommended", errorRate * 100);
                return true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics.go

    package cmd
    
    import (
    	"fmt"
    	"maps"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    )
    
    //go:generate msgp -file $GOFILE
    
    // RStat has replication error stats
    type RStat struct {
    	Count int64 `json:"count"`
    	Bytes int64 `json:"bytes"`
    }
    
    // RTimedMetrics has replication error stats for various time windows
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      val directory: File
        get() = cache.directory.toFile()
    
      @get:JvmName("directoryPath")
      val directoryPath: Path
        get() = cache.directory
    
      @JvmName("-deprecated_directory")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "directory"),
        level = DeprecationLevel.ERROR,
      )
      fun directory(): File = cache.directory.toFile()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            SameFloatInstance that = (SameFloatInstance) obj;
            return i == that.i;
          }
          return false;
        }
      }
    
      static class SameDoubleInstance {
        private final Double i;
    
        public SameDoubleInstance(Double i) {
          this.i = checkNotNull(i);
        }
    
        @Override
        public int hashCode() {
          return i.hashCode();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64.s

    	// 20.9: Single-Precision Floating-Point Classify Instruction
    	FCLASSS	F0, X5					// d31200e0
    
    	// 21.3: Double-Precision Load and Store Instructions
    	FLD	(X5), F0				// 07b00200
    	FLD	4(X5), F0				// 07b04200
    	FSD	F0, (X5)				// 27b00200
    	FSD	F0, 4(X5)				// 27b20200
    
    	// 21.4: Double-Precision Floating-Point Computational Instructions
    	FADDD	F1, F0, F2				// 53011002
    	FSUBD	F1, F0, F2				// 5301100a
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 13 12:17:37 UTC 2025
    - 73.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SSPContextTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    
    @ExtendWith(MockitoExtension.class)
    class SSPContextTest {
    
        // Simple, deterministic test double covering all methods of SSPContext.
        private static class DummySSPContext implements SSPContext {
            private byte[] signingKey;
            private boolean established;
            private String nbName;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top