Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 502 for picard (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go

    		nil,
    		&mockTyper{gvks: []schema.GroupVersionKind{{Kind: "test"}}},
    		nil,
    		schema.GroupVersion{Group: "other"}, nil,
    		"TestNestedEncode",
    	)
    	if err := codec.Encode(n, ioutil.Discard); err != n2.nestedErr {
    		t.Errorf("unexpected error: %v", err)
    	}
    	if n.nestedCalled || !n2.nestedCalled {
    		t.Errorf("did not invoke correct nested decoder")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 17:04:19 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  2. test/fixedbugs/issue4215.go

    	case "fish":
    		return "" // ERROR "not enough return values\n\thave \(string\)\n\twant \(string, int\)|not enough arguments to return"
    	default:
    		return "lizard", 10
    	}
    }
    
    type S int
    type T string
    type U float64
    
    func foo5() (S, T, U) {
    	if false {
    		return "" // ERROR "not enough return values\n\thave \(string\)\n\twant \(S, T, U\)|not enough arguments to return"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 21:43:02 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. internal/ioutil/ioutil_test.go

    	}
    }
    
    func TestCloseOnWriter(t *testing.T) {
    	writer := WriteOnClose(io.Discard)
    	if writer.HasWritten() {
    		t.Error("WriteOnCloser must not be marked as HasWritten")
    	}
    	writer.Write(nil)
    	if !writer.HasWritten() {
    		t.Error("WriteOnCloser must be marked as HasWritten")
    	}
    
    	writer = WriteOnClose(io.Discard)
    	writer.Close()
    	if !writer.HasWritten() {
    		t.Error("WriteOnCloser must be marked as HasWritten")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/time/zoneinfo_windows_test.go

    // license that can be found in the LICENSE file.
    
    package time_test
    
    import (
    	"internal/syscall/windows/registry"
    	"testing"
    	. "time"
    )
    
    func testZoneAbbr(t *testing.T) {
    	t1 := Now()
    	// discard nsec
    	t1 = Date(t1.Year(), t1.Month(), t1.Day(), t1.Hour(), t1.Minute(), t1.Second(), 0, t1.Location())
    
    	t2, err := Parse(RFC1123, t1.Format(RFC1123))
    	if err != nil {
    		t.Fatalf("Parse failed: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/file/CalculatedTaskInputFileCollection.java

            taskIsExecuting = false;
            cachedFiles = null;
            for (LifecycleAwareValue target : targets) {
                target.cleanupValue();
            }
            targets = null;
            // Discard the calculated files collection too, but need to retain the display name for it
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

    import okhttp3.HttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.EMPTY_HEADERS
    import okhttp3.internal.checkOffsetAndCount
    import okhttp3.internal.discard
    import okhttp3.internal.headersContentLength
    import okhttp3.internal.http.ExchangeCodec
    import okhttp3.internal.http.HTTP_CONTINUE
    import okhttp3.internal.http.RequestLine
    import okhttp3.internal.http.StatusLine
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/compress/gzip/fuzz_test.go

    			}
    
    			if err := r.Close(); err != nil {
    				continue
    			}
    
    			for _, level := range []int{NoCompression, BestSpeed, BestCompression, DefaultCompression, HuffmanOnly} {
    				w, err := NewWriterLevel(io.Discard, level)
    				if err != nil {
    					t.Fatalf("failed to construct writer: %s", err)
    				}
    				_, err = w.Write(decompressed.Bytes())
    				if err != nil {
    					t.Fatalf("failed to write: %s", err)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java

        }
    
        @Override
        public MutationValidator getValidator() {
            return holder;
        }
    
        @Override
        public void discardAll() {
            holder.discard();
        }
    
        private static class MetadataHolder implements MutationValidator {
            @Nullable
            private SoftReference<LocalComponentGraphResolveState> reference;
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/file/CachingTaskInputFileCollection.java

            }
        }
    
        @Override
        public void prepareValue() {
            canCache = true;
        }
    
        @Override
        public void cleanupValue() {
            // Keep the files and discard the origin values instead?
            canCache = false;
            cachedValue = null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  10. internal/bpool/bpool.go

    func (bp *BytePoolCap) Put(b []byte) {
    	if bp == nil {
    		return
    	}
    	select {
    	case bp.c <- b:
    		// buffer went back into pool
    	default:
    		// buffer didn't go back into pool, just discard
    	}
    }
    
    // Width returns the width of the byte arrays in this pool.
    func (bp *BytePoolCap) Width() (n int) {
    	if bp == nil {
    		return 0
    	}
    	return bp.w
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top