Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 155 for Desc (0.09 sec)

  1. src/net/http/sniff_test.go

    		if ct := resp.Header.Get("Content-Type"); ct != wantContentType {
    			t.Errorf("%v: Content-Type = %q, want %q", tt.desc, ct, wantContentType)
    		}
    		data, err := io.ReadAll(resp.Body)
    		if err != nil {
    			t.Errorf("%v: reading body: %v", tt.desc, err)
    		} else if !bytes.Equal(data, tt.data) {
    			t.Errorf("%v: data is %q, want %q", tt.desc, data, tt.data)
    		}
    		resp.Body.Close()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 16:53:14 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. src/internal/trace/reader_test.go

    		}
    	}
    	return sb.String()
    }
    
    func dumpTraceToFile(t *testing.T, testName string, stress bool, b []byte) string {
    	t.Helper()
    
    	desc := "default"
    	if stress {
    		desc = "stress"
    	}
    	name := fmt.Sprintf("%s.%s.trace.", testName, desc)
    	f, err := os.CreateTemp("", name)
    	if err != nil {
    		t.Fatalf("creating temp file: %v", err)
    	}
    	defer f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/file/FileCollectionSymlinkTest.groovy

        }
    
        def "#desc can handle symlinks"() {
            expect:
            fileCollection.contains(file)
            fileCollection.contains(symlink)
            fileCollection.contains(symlinked)
            fileCollection.files == [file, symlink, symlinked] as Set
    
            (fileCollection - project.getLayout().files(symlink)).files == [file, symlinked] as Set
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. src/io/fs/glob_test.go

    func (globOnly) Open(name string) (File, error) { return nil, ErrNotExist }
    
    func TestGlobMethod(t *testing.T) {
    	check := func(desc string, names []string, err error) {
    		t.Helper()
    		if err != nil || len(names) != 1 || names[0] != "hello.txt" {
    			t.Errorf("Glob(%s) = %v, %v, want %v, nil", desc, names, err, []string{"hello.txt"})
    		}
    	}
    
    	// Test that ReadDir uses the method when present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:36:52 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. pilot/test/xdstest/grpc.go

    func SlowClientInterceptor(recv, send time.Duration) grpc.StreamClientInterceptor {
    	return func(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn,
    		method string, streamer grpc.Streamer, opts ...grpc.CallOption,
    	) (grpc.ClientStream, error) {
    		clientStream, err := streamer(ctx, desc, cc, method, opts...)
    		return &slowClientStream{clientStream, recv, send}, err
    	}
    }
    
    type slowServerStream struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/ApplicationServiceRegistration.kt

            operator fun getValue(thisRef: R, desc: KProperty<*>): T =
                thisRef.getUserData(key) ?: error("A user data key with a default value should guarantee a non-null value.")
    
            operator fun setValue(thisRef: R, desc: KProperty<*>, value: T) {
                thisRef.putUserData(key, value)
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 16 11:53:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/AbstractComponentSelectionRulesIntegrationTest.groovy

            Set uris = []
            def repo = GradleMetadataResolveRunner.useIvy() ? ivyHttpRepo : mavenHttpRepo
            def desc = GradleMetadataResolveRunner.useIvy() ? 'ivy' : 'pom'
            def resolve = repo.module(group, module, version)
            uris << resolve."$desc".uri
            if (expectGradleMetadataRequest) {
                uris << resolve.moduleMetadata.uri
            }
            uris.collect { "  - $it" }.join('\n')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

          llvm::cl::desc("The minimum required number of elements in a weight "
                         "array to apply quantization.")};
    
      Option<QuantMethod> quantization_method_{
          *this, "quantization-method",
          llvm::cl::init(tensorflow::quantization::QuantizationMethod::
                             METHOD_DYNAMIC_RANGE_INT8),
          llvm::cl::desc("Choose quantization method."),
          llvm::cl::values(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectInputStream.java

                throw new ClassNotFoundException(aClass.getName());
            }
            return descriptor;
        }
    
        @Override
        protected Class<?> resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException {
            return desc.forClass();
        }
    
        private Class<?> readClass() throws IOException, ClassNotFoundException {
            short id = readShort();
            String className = readUTF();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/io/fs/readdir_test.go

    func TestReadDir(t *testing.T) {
    	check := func(desc string, dirs []DirEntry, err error) {
    		t.Helper()
    		if err != nil || len(dirs) != 2 || dirs[0].Name() != "hello.txt" || dirs[1].Name() != "sub" {
    			var names []string
    			for _, d := range dirs {
    				names = append(names, d.Name())
    			}
    			t.Errorf("ReadDir(%s) = %v, %v, want %v, nil", desc, names, err, []string{"hello.txt", "sub"})
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:25:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top