Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 474 for convenient (0.22 sec)

  1. pkg/test/util/file/file.go

    func MustAsBytes(filename string) []byte {
    	content, err := AsBytes(filename)
    	if err != nil {
    		panic(err)
    	}
    	return content
    }
    
    // AsStringArray is a convenience wrapper around os.ReadFile that converts the content to a string.
    func AsStringArray(files ...string) ([]string, error) {
    	out := make([]string, 0, len(files))
    	for _, f := range files {
    		b, err := AsBytes(f)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. hack/install-protoc.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script is convenience to download and install protoc in third_party.
    # Usage: `hack/install-protoc.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 26 23:00:08 UTC 2023
    - 876 bytes
    - Viewed (0)
  3. src/cmd/internal/osinfo/os_js.go

    	// (browser, node, etc), nor is there a standard via something like
    	// WASI (see https://go.dev/issue/31105). For now, attempt a few simple
    	// combinations for the convenience of reading logs at build.golang.org
    	// and local development. It's not a goal to recognize all environments.
    	if v, ok := node(); ok {
    		return "Node.js " + v, nil
    	}
    	return "", fmt.Errorf("unrecognized environment")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:43:17 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/execution/TaskExecutionAdapter.java

    import org.gradle.api.Task;
    import org.gradle.api.tasks.TaskState;
    
    /**
     * A {@link TaskExecutionListener} adapter class for receiving task execution events.
     *
     * The methods in this class are empty. This class exists as convenience for creating listener objects.
     */
    @SuppressWarnings("deprecation")
    public class TaskExecutionAdapter implements TaskExecutionListener {
    
        @Override
        public void beforeExecute(Task task) {}
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. src/internal/trace/internal/testgen/go122/trace.go

    		panic(err.Error())
    	}
    }
    
    // Trace represents an execution trace for testing.
    //
    // It does a little bit of work to ensure that the produced trace is valid,
    // just for convenience. It mainly tracks batches and batch sizes (so they're
    // trivially correct), tracks strings and stacks, and makes sure emitted string
    // and stack batches are valid. That last part can be controlled by a few options.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/AbstractHeaderExportingSourceSet.java

    import org.gradle.language.base.LanguageSourceSet;
    import org.gradle.language.base.sources.BaseLanguageSourceSet;
    import org.gradle.language.nativeplatform.HeaderExportingSourceSet;
    
    /**
     * A convenience base class for implementing language source sets with dependencies and exported headers.
     */
    public abstract class AbstractHeaderExportingSourceSet extends BaseLanguageSourceSet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    		if controller, ok := s.ClientCA.(dynamiccertificates.ControllerRunner); ok {
    			// runonce to try to prime data.  If this fails, it's ok because we fail closed.
    			// Files are required to be populated already, so this is for convenience.
    			if err := controller.RunOnce(ctx); err != nil {
    				klog.Warningf("Initial population of client CA failed: %v", err)
    			}
    
    			go controller.Run(ctx, 1)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/app/fds.go

    // By explicitly doing it ourselves, we get the limit passed through to Envoy.
    //
    // This function returns the new limit additionally, for convenience.
    func RaiseFileLimits() (uint64, error) {
    	return raiseFileLimits()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/VerifyException.java

    import javax.annotation.CheckForNull;
    
    /**
     * Exception thrown upon the failure of a <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">verification check</a>,
     * including those performed by the convenience methods of the {@link Verify} class.
     *
     * @since 17.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class VerifyException extends RuntimeException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonsFixture.java

        /**
         * Returns all daemons that are visible to clients. May include daemons that are no longer running (eg they have crashed).
         */
        List<? extends DaemonFixture> getVisible();
    
        /**
         * Convenience to get a single daemon. Fails if there is not exactly 1 daemon.
         */
        DaemonFixture getDaemon();
    
        /**
         * Returns the base dir of the daemon.
         */
        File getDaemonBaseDir();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top