Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for circle (0.12 sec)

  1. src/go/types/expr.go

    			//
    			// Usually (in correct programs), the lhs expression
    			// is in the untyped map. However, it is possible to
    			// create incorrect programs where the same expression
    			// is evaluated twice (via a declaration cycle) such
    			// that the lhs expression type is determined in the
    			// first round and thus deleted from the map, and then
    			// not found in the second round (double insertion of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy_test.go

    				t.Errorf("Unexpected error: %v", errs.ToAggregate())
    			}
    
    			if diff := cmp.Diff(getLifecycle(newPod), getLifecycle(tc.wantPod)); diff != "" {
    				t.Fatalf("Unexpected modification to life cycle; diff (-got +want)\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestApplyAppArmorVersionSkew(t *testing.T) {
    	testProfile := "test"
    
    	tests := []struct {
    		description   string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/cache/cache_test.go

    				addNode(1), updateSnapshot(), removeNode(1), addNode(1),
    			},
    			expected:           []*v1.Node{nodes[1]},
    			expectedUsedPVCSet: sets.New[string](),
    		},
    		{
    			name: "Add node and remove it in the same cycle, add it again",
    			operations: []operation{
    				addNode(1), updateSnapshot(), addNode(2), removeNode(1),
    			},
    			expected:           []*v1.Node{nodes[2]},
    			expectedUsedPVCSet: sets.New[string](),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      Status status = MarkForCompilationPassTestHelper::MarkForCompilation(&graph);
      EXPECT_FALSE(status.ok());
      EXPECT_TRUE(absl::StrContains(status.ToString(),
                                    "Edge from c to a would create a cycle.\n"
                                    "+-> a\n"
                                    "|   b\n"
                                    "+-- c\n"));
    }
    
    TEST(XlaCompilationTest, Retval) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/type.go

    	"cmd/internal/src"
    	"fmt"
    	"go/constant"
    	"internal/types/errors"
    	"sync"
    )
    
    // Object represents an ir.Node, but without needing to import cmd/compile/internal/ir,
    // which would cause an import cycle. The uses in other packages must type assert
    // values of type Object to ir.Node or a more specific type.
    type Object interface {
    	Pos() src.XPos
    	Sym() *Sym
    	Type() *Type
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    			//
    			// Usually (in correct programs), the lhs expression
    			// is in the untyped map. However, it is possible to
    			// create incorrect programs where the same expression
    			// is evaluated twice (via a declaration cycle) such
    			// that the lhs expression type is determined in the
    			// first round and thus deleted from the map, and then
    			// not found in the second round (double insertion of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. src/runtime/malloc.go

    // returns that object along with a flag indicating that this was a heavy
    // weight allocation. If it is a heavy weight allocation the caller must
    // determine whether a new GC cycle needs to be started or if the GC is active
    // whether this goroutine needs to assist the GC.
    //
    // Must run in a non-preemptible context since otherwise the owner of
    // c could change.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"setDefaultedStr":      "v2",
    				"setNullableStr":       "v3",
    				"setToNullNullableStr": nil,
    
    				// we don't run the defaulter in this test suite (depending on it would introduce a cycle)
    				// so we fake it :(
    				"unsetDefaultedStr": "default value",
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    				"unsetPlainStr":     stringType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    		}
    		return res, err
    	}
    
    	if len(xlMeta.versions) <= 10 {
    		// any number of versions beyond this is excessive
    		// avoid healing such objects in this manner, let
    		// it heal during the regular scanner cycle.
    		dst := []byte{}
    		for _, ver := range xlMeta.versions {
    			dst = slices.Grow(dst, 16)
    			copy(dst[len(dst):], ver.header.VersionID[:])
    		}
    		res.Sign = dst
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/init.go

    // initialize modules by installing hooks. If Init has already been called,
    // WillBeEnabled returns the same result as Enabled.
    //
    // This function is needed to break a cycle. The main package needs to know
    // whether modules are enabled in order to install the module or GOPATH version
    // of 'go get', but Init reads the -modfile flag in 'go get', so it shouldn't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
Back to top