Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for segs (0.09 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/SequentialOutputMatcher.groovy

        }
    
        protected boolean compare(String expected, String actual) {
            if (actual == expected) {
                return true
            }
    
            if (expected == 'Total time: 1 secs') {
                return actual.matches('Total time: .+ secs')
            }
    
            // Normalise default object toString() values
            actual = actual.replaceAll('(\\w+(\\.\\w+)*)@\\p{XDigit}+', '$1@12345')
            // Normalise file separators
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. internal/http/dial_linux.go

    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    				// Wait time after successful probe in seconds.
    				// ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15)
    			}
    
    			// Set tcp user timeout in addition to the keep-alive - tcp-keepalive is not enough to close a socket
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (3)
  3. platforms/documentation/docs/src/snippets/tutorial/taskOnlyIf/tests/taskOnlyIf-info.out

    ...
    
    > Task :hello SKIPPED
    Skipping task ':hello' as task onlyIf 'there is no property skipHello' is false.
    :hello (Thread[included builds,5,main]) completed. Took 0.018 secs.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 201 bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/segv_linux.go

    package main
    
    import "syscall"
    
    func init() {
    	register("TgkillSegv", TgkillSegv)
    }
    
    func TgkillSegv() {
    	c := make(chan bool)
    	go func() {
    		close(c)
    		for i := 0; ; i++ {
    			// Sum defined in segv.go.
    			Sum += i
    		}
    	}()
    
    	<-c
    
    	syscall.Tgkill(syscall.Getpid(), syscall.Gettid(), syscall.SIGSEGV)
    
    	// Wait for the OS to deliver the signal.
    	select {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 05 15:24:08 UTC 2023
    - 517 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testgodefs/testdata/anonunion.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    // This file tests that when cgo -godefs sees a struct with a field
    // that is an anonymous union, the first field in the union is
    // promoted to become a field of the struct.  See issue 6677 for
    // background.
    
    /*
    typedef struct {
    	union {
    		long l;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 515 bytes
    - Viewed (0)
  6. src/runtime/debug_test.go

    		return x + 1, y + 1.0
    	}
    	var args *stackArgs
    	var regs abi.RegArgs
    	intRegs := regs.Ints[:]
    	floatRegs := regs.Floats[:]
    	fval := float64(42.0)
    	if len(intRegs) > 0 {
    		intRegs[0] = 42
    		floatRegs[0] = math.Float64bits(fval)
    	} else {
    		args = &stackArgs{
    			x0: 42,
    			x1: 42.0,
    		}
    	}
    
    	if _, err := runtime.InjectDebugCall(g, fn, &regs, args, debugCallTKill, false); err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ZincScalaCompilerOutputNormalizer.groovy

     * */
    class ZincScalaCompilerOutputNormalizer implements OutputNormalizer {
    
        private static final PATTERN = Pattern.compile(
            "(Scala Compiler interface compilation took ([0-9]+ hrs )?([0-9]+ mins )?[0-9.]+ secs\n\n)" +
                "|(\\[Warn] : -target is deprecated: Use -release instead to compile against the correct platform API.\none warning found\n\n)",
            Pattern.MULTILINE
        )
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/ToolingApiLoggingCrossVersionSpec.groovy

                .replaceFirst(/Support for .* was deprecated.*\n/, '')
                .replaceFirst(/ in [ \dms]+/, " in 0ms")
                .replaceFirst("Total time: .+ secs", "Total time: 0 secs")
        }
    
        void shouldNotContainProviderLogging(String output) {
            assert !output.contains("Provider implementation created.")
            assert !output.contains("Tooling API uses target gradle version:")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/crypto/x509/internal/macos/corefoundation.go

    	b := CFDataToSlice(data)
    	CFRelease(data)
    	return string(b)
    }
    
    // TimeToCFDateRef converts a time.Time into an apple CFDateRef.
    func TimeToCFDateRef(t time.Time) CFRef {
    	secs := t.Sub(time.Date(2001, 1, 1, 0, 0, 0, 0, time.UTC)).Seconds()
    	ref := CFDateCreate(secs)
    	return ref
    }
    
    type CFString CFRef
    
    const kCFAllocatorDefault = 0
    const kCFStringEncodingUTF8 = 0x08000100
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 20:05:17 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix.go

    		// ignoring error from shmdt as there's nothing sensible to return here
    		shmdt(addr)
    		return nil, err
    	}
    
    	// Use unsafe to convert addr into a []byte.
    	b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), int(info.Segsz))
    	return b, nil
    }
    
    // SysvShmDetach unmaps the shared memory slice returned from SysvShmAttach.
    //
    // It is not safe to use the slice after calling this function.
    func SysvShmDetach(data []byte) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top