Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for IsSkip (0.18 sec)

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

    }
    
    // RunPreFilterPlugins runs the set of configured PreFilter plugins. It returns
    // *Status and its code is set to non-success if any of the plugins returns
    // anything but Success/Skip.
    // When it returns Skip status, returned PreFilterResult and other fields in status are just ignored,
    // and coupled Filter plugin/PreFilterExtensions() will be skipped in this scheduling cycle.
    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/dynamicresources/dynamicresources_test.go

    		expectedErr    bool
    	}{
    		"skip-deletes": {
    			pod:          podWithClaimTemplate,
    			oldObj:       allocatedClaim,
    			newObj:       nil,
    			expectedHint: framework.QueueSkip,
    		},
    		"backoff-wrong-new-object": {
    			pod:         podWithClaimTemplate,
    			newObj:      "not-a-claim",
    			expectedErr: true,
    		},
    		"skip-wrong-claim": {
    			pod: podWithClaimTemplate,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    			if diff := cmp.Diff(preFilterStatus, test.wantPreFilterStatus); diff != "" {
    				t.Errorf("PreFilter: status does not match (-want,+got):\n%s", diff)
    			}
    			if preFilterStatus.IsSkip() {
    				return
    			}
    			for indexNode, node := range test.nodes {
    				nodeInfo := mustGetNodeInfo(t, snapshot, node.Name)
    				gotStatus := p.(framework.FilterPlugin).Filter(ctx, state, test.pod, nodeInfo)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    			informerFactory.WaitForCacheSync(ctx.Done())
    			p := pl.(*PodTopologySpread)
    			cs := framework.NewCycleState()
    			if s := p.PreScore(ctx, cs, tt.pod, tf.BuildNodeInfos(tt.nodes)); !s.IsSkip() {
    				t.Fatalf("Expected skip but got %v", s.AsError())
    			}
    		})
    	}
    }
    
    func TestPreScoreStateEmptyNodes(t *testing.T) {
    	tests := []struct {
    		name                      string
    		pod                       *v1.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  5. src/regexp/testdata/testregex.c

    				case '{':
    					level <<= 1;
    					if (skip & (level >> 1))
    					{
    						skip |= level;
    						cflags = NOTEST;
    					}
    					else
    					{
    						skip &= ~level;
    						test |= TEST_QUERY;
    					}
    					continue;
    				case '}':
    					if (level == 1)
    						bad("invalid {...} nesting\n", NiL, NiL, 0, 0);
    					if ((skip & level) && !(skip & (level>>1)))
    					{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 62.6K bytes
    - Viewed (0)
  7. cmd/bucket-stats_gen.go

    						return
    					}
    				default:
    					err = dc.Skip()
    					if err != nil {
    						err = msgp.WrapError(err, "QueueStats")
    						return
    					}
    				}
    			}
    		case "ProxyStats":
    			err = z.ProxyStats.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "ProxyStats")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. src/cmd/dist/test.go

    		fn:      fn,
    	})
    }
    
    type registerTestOpt interface {
    	isRegisterTestOpt()
    }
    
    // rtSkipFunc is a registerTest option that runs a skip check function before
    // running the test.
    type rtSkipFunc struct {
    	skip func(*distTest) (string, bool) // Return message, true to skip the test
    }
    
    func (rtSkipFunc) isRegisterTestOpt() {}
    
    // registerTest registers a test that runs the given goTest.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir

      func.return %0 : tensor<i32>
    }
    
    // CHECK-SKIP-CPU: "tfl.while"
    // CHECK-SKIP-CPU:   ^bb0(%[[ARG0:.*]]: tensor<i32>):
    // CHECK-SKIP-CPU:     "tfl.yield"(%[[ARG0]]) : (tensor<i32>) -> ()
    // CHECK-SKIP-CPU: }, {
    // CHECK-SKIP-CPU:   ^bb0(%[[ARG1:.*]]: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  10. src/testing/testing.go

    	}
    
    	return raceErrors
    }
    
    // callerName gives the function name (qualified with a package path)
    // for the caller after skip frames (where 0 means the current function).
    func callerName(skip int) string {
    	var pc [1]uintptr
    	n := runtime.Callers(skip+2, pc[:]) // skip + runtime.Callers + callerName
    	if n == 0 {
    		panic("testing: zero callers found")
    	}
    	return pcToName(pc[0])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top