Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for getLogs (0.23 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonFeedbackIntegrationSpec.groovy

            daemon.abort()
        }
    
        List<File> getLogs(File baseDir) {
            //the gradle version dir
            def daemonDir = new File(baseDir, GradleVersion.current().version)
            assert daemonDir.exists()
            daemonDir.listFiles().findAll { it.name.endsWith('.log') }
        }
    
        String readLog(File baseDir) {
            def logs = getLogs(baseDir)
    
            //assert single log
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/NativePlatformConsoleMetaData.java

        }
    
        @Override
        public boolean isStdErr() {
            return stderr;
        }
    
        @Override
        public int getCols() {
            return terminal.getTerminalSize().getCols();
        }
    
        @Override
        public int getRows() {
            return terminal.getTerminalSize().getRows();
        }
    
        @Override
        public boolean isWrapStreams() {
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/FallbackConsoleMetaData.java

            return attached;
        }
    
        @Override
        public boolean isStdErr() {
            return attached;
        }
    
        @Override
        public int getCols() {
            return 0;
        }
    
        @Override
        public int getRows() {
            return 0;
        }
    
        @Override
        public boolean isWrapStreams() {
            return attached;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/ConsoleMetaData.java

         * @return The number of columns available in the console. If no information is available return 0.
         */
        int getCols();
    
        /**
         * <p>Returns the number of rows available in the console.</p>
         *
         * @return The height of the console (rows). If no information is available return 0.
         */
        int getRows();
    
        boolean isWrapStreams();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/TestConsoleMetadata.java

            return attachedToStdout;
        }
    
        @Override
        public boolean isStdErr() {
            return attachedToStderr;
        }
    
        @Override
        public int getCols() {
            return 130;
        }
    
        @Override
        public int getRows() {
            return 40;
        }
    
        @Override
        public boolean isWrapStreams() {
            return false;
        }
    
        public String getCommandLineArgument() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. pkg/kubelet/container/testing/mock_runtime_cache.go

    }
    
    // GetPods mocks base method.
    func (m *MockRuntimeCache) GetPods(arg0 context.Context) ([]*container.Pod, error) {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "GetPods", arg0)
    	ret0, _ := ret[0].([]*container.Pod)
    	ret1, _ := ret[1].(error)
    	return ret0, ret1
    }
    
    // GetPods indicates an expected call of GetPods.
    func (mr *MockRuntimeCacheMockRecorder) GetPods(arg0 any) *gomock.Call {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. pkg/kubelet/container/runtime_cache.go

    import (
    	"context"
    	"sync"
    	"time"
    )
    
    // RuntimeCache is in interface for obtaining cached Pods.
    type RuntimeCache interface {
    	GetPods(context.Context) ([]*Pod, error)
    	ForceUpdateIfOlder(context.Context, time.Time) error
    }
    
    type podsGetter interface {
    	GetPods(context.Context, bool) ([]*Pod, error)
    }
    
    // NewRuntimeCache creates a container runtime cache.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 04:03:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ConsoleLayoutCalculatorTest.groovy

            given:
            1 * consoleMetaData.getRows() >> 100
    
            expect:
            consoleLayoutCalculator.calculateNumWorkersForConsoleDisplay(5) == 5
        }
    
        def "lines should be half the console size for small consoles"() {
            given:
            1 * consoleMetaData.getRows() >> rows
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. pkg/kubelet/pod/testing/mock_manager.go

    }
    
    // GetPods mocks base method.
    func (m *MockManager) GetPods() []*v1.Pod {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "GetPods")
    	ret0, _ := ret[0].([]*v1.Pod)
    	return ret0
    }
    
    // GetPods indicates an expected call of GetPods.
    func (mr *MockManagerMockRecorder) GetPods() *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. test/fixedbugs/bug343.go

    // issue 1900
    
    package main
    
    func getArgs(data map[string]interface{}, keys ...string) map[string]string {
           ret := map[string]string{}
           var ok bool
           for _, k := range keys {
                   ret[k], ok = data[k].(string)
                   if !ok {}
           }
           return ret
    }
    
    func main() {
    	x := getArgs(map[string]interface{}{"x":"y"}, "x")
    	if x["x"] != "y" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 721 bytes
    - Viewed (0)
Back to top