Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for interesting (0.27 sec)

  1. src/net/http/httputil/reverseproxy_test.go

    	proxyHandler.Transport = RoundTripperFunc(func(req *http.Request) (*http.Response, error) {
    		if req.Body != nil {
    			t.Error("Body != nil; want a nil Body")
    		}
    		return nil, errors.New("done testing the interesting part; so force a 502 Gateway error")
    	})
    	frontend := httptest.NewServer(proxyHandler)
    	defer frontend.Close()
    
    	res, err := frontend.Client().Get(frontend.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			expectedCalcCost: 0,
    			setMaxElements:   490,
    			expectedSetCost:  0,
    		},
    		// Ensure library functions are integrated with size estimates by testing the interesting cases.
    		{
    			name:             "extended library regex find",
    			schemaGenerator:  genStringWithRule("self.find('[0-9]+') == ''"),
    			expectedCalcCost: 629147,
    			setMaxElements:   10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. pkg/controller/daemon/daemon_controller.go

    		if toUpdate, getErr = dsClient.Get(ctx, ds.Name, metav1.GetOptions{}); getErr != nil {
    			// If the GET fails we can't trust status.Replicas anymore. This error
    			// is bound to be more interesting than the update failure.
    			return getErr
    		}
    	}
    	return updateErr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      FileSystem* fs = nullptr;
      Status s = env_->GetFileSystemForFile(generic_path, &fs);
      if (fs == nullptr || !s.ok())
        GTEST_SKIP() << "No filesystem registered: " << s;
    
      // First, test some interesting corner cases concerning empty URIs
      if (GetParam().empty()) {
        EXPECT_EQ(fs->TranslateName(""), "");
        EXPECT_EQ(fs->TranslateName("/"), "/");
        EXPECT_EQ(fs->TranslateName("//"), "/");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  5. src/html/template/exec_test.go

    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"reflect"
    	"strings"
    	"sync"
    	"testing"
    	"text/template"
    )
    
    var debug = flag.Bool("debug", false, "show the errors produced by the tests")
    
    // T has lots of interesting pieces to use to test execution.
    type T struct {
    	// Basics
    	True        bool
    	I           int
    	U16         uint16
    	X, S        string
    	FloatZero   float64
    	ComplexZero complex128
    	// Nested structs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    		//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    		metaDataPool.Put(buf)
    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    // This should only be used when data is never interesting.
    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    	if initial > metaDataReadDefault {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. src/internal/trace/order.go

    	return newCtx, true, nil
    }
    
    func (o *ordering) advanceUserTaskBegin(ev *baseEvent, evt *evTable, m ThreadID, gen uint64, curCtx schedCtx) (schedCtx, bool, error) {
    	// Handle tasks. Tasks are interesting because:
    	// - There's no Begin event required to reference a task.
    	// - End for a particular task ID can appear multiple times.
    	// As a result, there's very little to validate. The only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #endif
    
    // Use this annotation at the end of a struct/class definition to
    // prevent the compiler from optimizing away instances that are never
    // used.  This is useful when all interesting logic happens inside the
    // c'tor and / or d'tor.  Example:
    //
    //   struct Foo {
    //     Foo() { ... }
    //   } GTEST_ATTRIBUTE_UNUSED_;
    //
    // Also use it after a variable or parameter declaration to tell the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  9. src/text/template/exec_test.go

    import (
    	"bytes"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"reflect"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var debug = flag.Bool("debug", false, "show the errors produced by the tests")
    
    // T has lots of interesting pieces to use to test execution.
    type T struct {
    	// Basics
    	True        bool
    	I           int
    	U16         uint16
    	X, S        string
    	FloatZero   float64
    	ComplexZero complex128
    	// Nested structs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #endif
    
    // Use this annotation at the end of a struct/class definition to
    // prevent the compiler from optimizing away instances that are never
    // used.  This is useful when all interesting logic happens inside the
    // c'tor and / or d'tor.  Example:
    //
    //   struct Foo {
    //     Foo() { ... }
    //   } GTEST_ATTRIBUTE_UNUSED_;
    //
    // Also use it after a variable or parameter declaration to tell the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
Back to top