Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for resMatch (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules.go

    	opRes, opSub := r.Attr.GetResource().Resource, r.Attr.GetSubresource()
    	for _, res := range r.Rule.Resources {
    		res, sub := splitResource(res)
    		resMatch := res == "*" || res == opRes
    		subMatch := sub == "*" || sub == opSub
    		if resMatch && subMatch {
    			return true
    		}
    	}
    	return false
    }
    
    // IsExemptAdmissionConfigurationResource determines if an admission.Attributes object is describing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:38:55 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/decorated_watcher.go

    	decorator func(runtime.Object)
    	cancel    context.CancelFunc
    	resultCh  chan watch.Event
    }
    
    func newDecoratedWatcher(ctx context.Context, w watch.Interface, decorator func(runtime.Object)) *decoratedWatcher {
    	ctx, cancel := context.WithCancel(ctx)
    	d := &decoratedWatcher{
    		w:         w,
    		decorator: decorator,
    		cancel:    cancel,
    		resultCh:  make(chan watch.Event),
    	}
    	go d.run(ctx)
    	return d
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 02 19:25:31 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/regexp/testdata/README

    AT&T POSIX Test Files
    See textregex.c for copyright + license.
    
    testregex.c	http://www2.research.att.com/~gsf/testregex/testregex.c
    basic.dat	http://www2.research.att.com/~gsf/testregex/basic.dat
    nullsubexpr.dat	http://www2.research.att.com/~gsf/testregex/nullsubexpr.dat
    repetition.dat	http://www2.research.att.com/~gsf/testregex/repetition.dat
    
    The test data has been edited to reflect RE2/Go differences:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 27 20:18:25 UTC 2015
    - 957 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go

    				err = fmt.Sprintf("%v\n%s", err, buf)
    			}
    			resultCh <- err
    		}()
    		t.handler.ServeHTTP(w, rCopy)
    	}()
    	select {
    	case err := <-resultCh:
    		// panic if error occurs; stop otherwise
    		if err != nil {
    			panic(err)
    		}
    		return
    	case <-timeoutCh:
    		defer func() {
    			// resultCh needs to have a reader, since the function doing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go

    			// and the initialization signal will not be send.
    			// It has to happen before waiting on the resultCh below.
    			watchInitializationSignal.Signal()
    			// TODO: Consider finishing the request as soon as Handle call panics.
    			if err := <-resultCh; err != nil {
    				panic(err)
    			}
    		case err := <-resultCh:
    			if err != nil {
    				panic(err)
    			}
    		}
    	} else {
    		execute := func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/finisher/finisher.go

    				result.reason = reason
    			}
    
    			// Propagate the result to the parent goroutine
    			resultCh <- result
    		}()
    
    		if object, err := fn(); err != nil {
    			result.err = err
    		} else {
    			result.object = object
    		}
    	}()
    
    	select {
    	case result := <-resultCh:
    		return result.Return()
    	case <-ctx.Done():
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 14:20:33 UTC 2021
    - 6K bytes
    - Viewed (0)
  7. BUG-BOUNTY.md

    Serious about security
    ======================
    
    Square recognizes the important contributions the security research community
    can make. We therefore encourage reporting security issues with the code
    contained in this repository.
    
    If you believe you have discovered a security vulnerability, please follow the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 25 19:52:57 UTC 2020
    - 361 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    	}
    	bak := os.Stderr
    	os.Stderr = w
    	defer func() { os.Stderr = bak }()
    
    	resultCh := make(chan string)
    	// copy the output in a separate goroutine so printing can't block indefinitely
    	go func() {
    		var buf bytes.Buffer
    		io.Copy(&buf, r)
    		resultCh <- buf.String()
    	}()
    
    	f()
    	w.Close()
    
    	return <-resultCh, nil
    }
    
    func Test_rudimentaryErrorBackoff_OnError_ParallelSleep(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    #### Option A: Reference colab notebooks
    
    1)  Reference [TensorFlow Model Colab](https://colab.research.google.com/gist/ymodak/e96a4270b953201d5362c61c1e8b78aa/tensorflow-datasets.ipynb?authuser=1): Demonstrate how to build your TF model.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. CITATION.cff

    cff-version: 1.2.0
    message: "If you use TensorFlow in your research, please cite it using these metadata. Software is available from tensorflow.org."
    title: TensorFlow, Large-scale machine learning on heterogeneous systems
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 06 15:26:23 UTC 2021
    - 3.5K bytes
    - Viewed (0)
Back to top