Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for o2k2 (0.13 sec)

  1. internal/s3select/csv/reader_contrib_test.go

    			wantFields:      "ok1,ok2,ok3\n" + `a word,"b"""` + "\n",
    			wantErr:         io.EOF,
    		},
    		{
    			// This works since LazyQuotes is true:
    			file:            "invalid-badstartline.csv",
    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			sendErr:         nil,
    			header:          true,
    			wantColumns:     []string{"header1", "header2", "header3"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/semver/semver.go

    // All invalid semantic version strings compare equal to each other.
    func Compare(v, w string) int {
    	pv, ok1 := parse(v)
    	pw, ok2 := parse(w)
    	if !ok1 && !ok2 {
    		return 0
    	}
    	if !ok1 {
    		return -1
    	}
    	if !ok2 {
    		return +1
    	}
    	if c := compareInt(pv.major, pw.major); c != 0 {
    		return c
    	}
    	if c := compareInt(pv.minor, pw.minor); c != 0 {
    		return c
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. pkg/config/analysis/local/context.go

    	i.collectionReporter(col)
    	k := key{col, name, "default"}
    	if result, ok := i.found[k]; ok {
    		return result
    	}
    	if cache, ok := i.foundCollections[col]; ok {
    		if result, ok2 := cache[k]; ok2 {
    			return result
    		}
    	}
    	colschema, ok := collections.All.FindByGroupVersionKind(col)
    	if !ok {
    		log.Warnf("collection %s could not be found", col.String())
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy

        }
    
        @Test
        public void ok2() {
        }
    }
            """
            file("src/integTest/java/org/example/SomeIntegTestClass.java") << """
    package org.example;
    
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.Tag;
    
    @Tag("fast")
    public class SomeIntegTestClass {
        @Test
        public void ok1() {
        }
    
        @Test
        public void ok2() {
        }
    }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorData.groovy

        @Test(expectedExceptions = RuntimeException)
        public void ok() {
            throw new RuntimeException()
        }
    }
    
    public class ATestNGClassWithManyMethods {
        @Test public void ok() {}
        @Test public void ok2() {}
        @Test public void another() {}
        @Test public void yetAnother() {}
    }
    
    public class ATestNGClassWithGroups {
        @Test(groups="group1") public void group1() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy

                        fail("failed");
                    }
    
                    @Test
                    public void ok() {
                    }
    
                    @Test
                    public void ok2() {
                    }
                }
            """.stripIndent()
            file('src/test/java/org/gradle/UnserializableException.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 18K bytes
    - Viewed (0)
  7. cmd/erasure-metadata_test.go

    		t.Run("", func(t *testing.T) {
    			fi, err := findFileInfoInQuorum(context.Background(), test.fis, test.modTime, "", test.expectedQuorum)
    			_, ok1 := err.(InsufficientReadQuorum)
    			_, ok2 := test.expectedErr.(InsufficientReadQuorum)
    			if ok1 != ok2 {
    				t.Errorf("Expected %s, got %s", test.expectedErr, err)
    			}
    			if test.succmodTimes != nil {
    				if !test.expectedSuccModTime.Equal(fi.SuccessorModTime) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. cmd/site-replication-utils.go

    func (sm *siteResyncMetrics) status(dID string) (rs SiteResyncStatus, err error) {
    	sm.RLock()
    	defer sm.RUnlock()
    	if rst, ok1 := sm.peerResyncMap[dID]; ok1 {
    		if st, ok2 := sm.resyncStatus[rst.resyncID]; ok2 {
    			return st.clone(), nil
    		}
    	}
    	return rs, errSRNoResync
    }
    
    // Status returns latest resync status for this deployment
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  9. src/internal/types/testdata/check/decls1.go

    )
    
    // Various more complex expressions
    var (
    	u1 = x /* ERROR "not an interface" */ .(int)
    	u2 = iface.([]int)
    	u3 = iface.(a /* ERROR "not a type" */ )
    	u4, ok = iface.(int)
    	u5, ok2, ok3 = iface /* ERROR "assignment mismatch" */ .(int)
    )
    
    // Constant expression initializations
    var (
    	v1 = 1 /* ERROR "mismatched types untyped int and untyped string" */ + "foo"
    	v2 = c + 255
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/testing/quick/quick.go

    	case reflect.Map:
    		numElems := rand.Intn(size)
    		v.Set(reflect.MakeMap(concrete))
    		for i := 0; i < numElems; i++ {
    			key, ok1 := sizedValue(concrete.Key(), rand, size)
    			value, ok2 := sizedValue(concrete.Elem(), rand, size)
    			if !ok1 || !ok2 {
    				return reflect.Value{}, false
    			}
    			v.SetMapIndex(key, value)
    		}
    	case reflect.Pointer:
    		if rand.Intn(size) == 0 {
    			v.SetZero() // Generate nil pointer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top