Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 1,615 for var0 (0.03 seconds)

  1. internal/event/target/mysql_test.go

    package target
    
    import (
    	"database/sql"
    	"slices"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if sql driver
    // is registered and fails otherwise.
    func TestMySQLRegistration(t *testing.T) {
    	var found bool
    	if slices.Contains(sql.Drivers(), "mysql") {
    		found = true
    	}
    	if !found {
    		t.Fatal("mysql driver not registered")
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. tests/generics_test.go

    	var name string
    	if err := rawSQLUserRow.Scan(&name); err != nil {
    		t.Fatalf("rawSQLUserRow scan failed: %v", err)
    	}
    	if name != user.Name {
    		t.Errorf("expected %s, got %s", user.Name, name)
    	}
    
    	var scannedUserName string
    	selectUserRow := gorm.G[User](DB).Select("name").Where("name = ?", user.Name).Row(ctx)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    internal inline fun ignoreIoExceptions(block: () -> Unit) {
      try {
        block()
      } catch (_: IOException) {
      }
    }
    
    internal fun Buffer.skipAll(b: Byte): Int {
      var count = 0
      while (!exhausted() && this[0] == b) {
        count++
        readByte()
      }
      return count
    }
    
    /**
     * Returns the index of the next non-whitespace character in this. Result is undefined if input
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. internal/event/targetlist.go

    	if sync {
    		list.sendSync(event, targetIDset)
    	} else {
    		list.sendAsync(event, targetIDset)
    	}
    }
    
    func (list *TargetList) sendSync(event Event, targetIDset TargetIDSet) {
    	var wg sync.WaitGroup
    	for id := range targetIDset {
    		target, ok := list.get(id)
    		if !ok {
    			continue
    		}
    		wg.Add(1)
    		go func(id TargetID, target Target) {
    			list.currentSendCalls.Add(1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/debugging.md

    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    çalışır.
    
    ---
    
    Ancak modülü (dosyayı) import ederseniz bu gerçekleşmez.
    
    Yani örneğin `importer.py` adında başka bir dosyanız var ve içinde şunlar bulunuyorsa:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    bu durumda `myapp.py` içindeki otomatik oluşturulan `__name__` değişkeni `"__main__"` değerine sahip olmaz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  6. cmd/metrics-v3-scanner.go

    	scannerDirectoriesScanned  = "directories_scanned"
    	scannerObjectsScanned      = "objects_scanned"
    	scannerVersionsScanned     = "versions_scanned"
    	scannerLastActivitySeconds = "last_activity_seconds"
    )
    
    var (
    	scannerBucketScansFinishedMD = NewCounterMD(scannerBucketScansFinished,
    		"Total number of bucket scans finished since server start")
    	scannerBucketScansStartedMD = NewCounterMD(scannerBucketScansStarted,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 19:29:25 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  7. src/archive/zip/example_test.go

    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Add some files to the archive.
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

                Element dependencyManagement = DomUtils.findChildElement(root, "dependencyManagement");
                Element dependencies = DomUtils.findChildElement(dependencyManagement, "dependencies");
                var dependencyElements = dependencies.children("dependency").toList();
                assertEquals(1, dependencyElements.size(), "Should have only one dependency after duplicate removal");
            }
    
            @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. android-test/src/test/kotlin/okhttp/android/test/ShadowDnsResolver.kt

    import org.robolectric.annotation.Implementation
    import org.robolectric.annotation.Implements
    import org.robolectric.shadow.api.Shadow
    
    @Implements(DnsResolver::class)
    class ShadowDnsResolver {
      var responder: (Request) -> Unit = {
        it.callback.onAnswer(listOf(), 0)
      }
    
      data class Request(
        val network: Network?,
        val domain: String,
        val nsType: Int,
        val flags: Int,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. clause/clause.go

    		}
    	}
    }
    
    const (
    	PrimaryKey   string = "~~~py~~~" // primary key
    	CurrentTable string = "~~~ct~~~" // current table
    	Associations string = "~~~as~~~" // associations
    )
    
    var (
    	currentTable  = Table{Name: CurrentTable}
    	PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey}
    )
    
    // Column quote with name
    type Column struct {
    	Table string
    	Name  string
    	Alias string
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top