Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for _Equal (0.18 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    // This function is called from two different places: Schedule and Preempt.
    // When it is called from Schedule, we want to test whether the pod is
    // schedulable on the node with all the existing pods on the node plus higher
    // and equal priority pods nominated to run on the node.
    // When it is called from Preempt, we should remove the victims of preemption
    // and add the nominated pods. Removal of the victims is done by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    }
    
    func checkReasons(t *testing.T, actual, expected ConflictReasons) {
    	equal := len(actual) == len(expected)
    	sort.Sort(actual)
    	sort.Sort(expected)
    	if equal {
    		for i, reason := range actual {
    			if reason != expected[i] {
    				equal = false
    				break
    			}
    		}
    	}
    	if !equal {
    		t.Errorf("expected failure reasons %s, got %s", reasonNames(expected), reasonNames(actual))
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/buildlist.go

    			// already at its selected version, although we have have removed other
    			// (redundant) roots for the same path.
    			break
    		}
    	}
    
    	if rs.pruning == pruned && slices.Equal(roots, rs.rootModules) && maps.Equal(direct, rs.direct) {
    		// The root set is unchanged and rs was already pruned, so keep rs to
    		// preserve its cached ModuleGraph (if any).
    		return rs, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir

    // CHECK:     %15 = "tfl.equal"(%14, %arg12) {tac.device = "DARWINN", tac.inference_type = "FLOAT"} : (tensor<?xi32>, tensor<i32>) -> tensor<?xi1>
    // CHECK:     %16 = "tfl.equal"(%14, %arg3) {tac.device = "DARWINN", tac.inference_type = "FLOAT"} : (tensor<?xi32>, tensor<i32>) -> tensor<?xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			continue
    		}
    		if d, ok := dt.(*dwarf.TypedefType); ok {
    			dt = d.Type
    			continue
    		}
    		break
    	}
    	return dt
    }
    
    // unqual strips away qualifiers from a DWARF type.
    // In general we don't care about top-level qualifiers.
    func unqual(dt dwarf.Type) dwarf.Type {
    	for {
    		if d, ok := dt.(*dwarf.QualType); ok {
    			dt = d.Type
    		} else {
    			break
    		}
    	}
    	return dt
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/go/build/build.go

    		ctxt.JoinPath != nil || ctxt.SplitPathList != nil || ctxt.IsAbsPath != nil || ctxt.IsDir != nil || ctxt.HasSubdir != nil || ctxt.ReadDir != nil || ctxt.OpenFile != nil || !equal(ctxt.ToolTags, defaultToolTags) || !equal(ctxt.ReleaseTags, defaultReleaseTags) {
    		return errNoModules
    	}
    
    	// If ctxt.GOROOT is not set, we don't know which go command to invoke,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  7. src/net/netip/netip_test.go

    		}
    		if cmp < -1 || cmp > 1 {
    			t.Errorf("bogus Compare return value %v", cmp)
    		}
    		if cmp == 0 && tt.a != tt.b {
    			t.Errorf("Compare(%q, %q) = 0; but not equal", tt.a, tt.b)
    		}
    		if cmp == 1 && !tt.b.Less(tt.a) {
    			t.Errorf("Compare(%q, %q) = 1; but b.Less(a) isn't true", tt.a, tt.b)
    		}
    
    		// Also check inverse.
    		if got == tt.want && got {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller.go

    					job.Status.StartTime = &now
    				}
    			}
    		}
    	}
    
    	needsStatusUpdate := suspendCondChanged || active != job.Status.Active || !ptr.Equal(ready, job.Status.Ready)
    	needsStatusUpdate = needsStatusUpdate || !ptr.Equal(job.Status.Terminating, jobCtx.terminating)
    	job.Status.Active = active
    	job.Status.Ready = ready
    	job.Status.Terminating = jobCtx.terminating
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    		defer unlock()
    	}
    
    	err = lockedfile.Transform(modFilePath, func(old []byte) ([]byte, error) {
    		if bytes.Equal(old, updatedGoMod) {
    			// The go.mod file is already equal to new, possibly as the result of some
    			// other process.
    			return nil, errNoChange
    		}
    
    		if index != nil && !bytes.Equal(old, index.data) {
    			// The contents of the go.mod file have changed. In theory we could add all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_tls_test.go

    				t.Errorf("got diff: `%v", diff)
    			}
    			if tc.enableAutoSni {
    				if len(tc.tls.Sni) == 0 {
    					assert.Equal(t, tc.opts.mutable.httpProtocolOptions.UpstreamHttpProtocolOptions.AutoSni, true)
    				}
    				if tc.enableVerifyCertAtClient && len(tc.tls.Sni) == 0 && len(tc.tls.SubjectAltNames) == 0 {
    					assert.Equal(t, tc.opts.mutable.httpProtocolOptions.UpstreamHttpProtocolOptions.AutoSanValidation, true)
    				}
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top