Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 470 for ROUND (0.25 sec)

  1. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/ServiceRegistryProcessorFixture.groovy

        }
    
        @Override
        protected String getMembersBlock() {
            """
                int round;
                Set<Element> allElements = new HashSet<Element>();
            """
        }
    
        String getGeneratorCode() {
            return """
                try {
                    if (round == 0) {
                        JavaFileObject javaFile = filer.createSourceFile("ServiceRegistry", new Element[0]);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir

    // CHECK: %[[add:.*]] = "tf.AddV2"(%[[div]]
    // CHECK: %[[maximum:.*]] = "tf.Maximum"(%[[add]]
    // CHECK: %[[minimum:.*]] = "tf.Minimum"(%[[maximum]]
    // CHECK: %[[round:.*]] = "tf.Round"(%[[minimum]]
    // CHECK: %[[quant:.*]] = "tf.Cast"(%[[round]]) : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3xi8>
    // CHECK: %[[pad:.*]] = "tf.PadV2"(%[[quant]]
    // CHECK: %[[xlaconv:.*]] = "tf.XlaConvV2"(%[[pad]]
    // CHECK: %[[sub:.*]] = "tf.Sub"(%[[xlaconv]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    //	    })
    //	}
    func GlobalNonRoundTrippableTypes() sets.String {
    	return sets.NewString(globalNonRoundTrippableTypes.List()...)
    }
    
    // RoundTripTypesWithoutProtobuf applies the round-trip test to all round-trippable Kinds
    // in the scheme.  It will skip all the GroupVersionKinds in the skip list.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    				cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    				cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuSystem, cpuSystemVal, labels, false)
    				cpuIdleVal := math.Round(ts.Idle/tot*100*100) / 100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/net/tcpsockopt_darwin.go

    	sysTCP_KEEPCNT   = 0x102
    )
    
    func setKeepAliveIdle(fd *netFD, d time.Duration) error {
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE, secs)
    	runtime.KeepAlive(fd)
    	return wrapSyscallError("setsockopt", err)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/strconv/ftoa.go

    		case 'f':
    			prec = max(digs.nd-digs.dp, 0)
    		case 'g', 'G':
    			prec = digs.nd
    		}
    	} else {
    		// Round appropriately.
    		switch fmt {
    		case 'e', 'E':
    			d.Round(prec + 1)
    		case 'f':
    			d.Round(d.dp + prec)
    		case 'g', 'G':
    			if prec == 0 {
    				prec = 1
    			}
    			d.Round(prec)
    		}
    		digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/cmd/fix/main_test.go

    			if !ok {
    				return
    			}
    
    			if fixed2 {
    				t.Errorf("applied fixes during second round")
    				return
    			}
    
    			if out2 != out {
    				t.Errorf("changed output after second round of fixes.\n--- output after first round\n%s\n--- output after second round\n%s",
    					out, out2)
    				tdiff(t, "first", out, "second", out2)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/net/tcpsockopt_unix.go

    	"syscall"
    	"time"
    )
    
    func setKeepAliveIdle(fd *netFD, d time.Duration) error {
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    	return wrapSyscallError("setsockopt", err)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/net/tcpsockopt_solaris.go

    		return setKeepAliveIdleAndIntervalAndCount(fd, d, -1, -1)
    	}
    
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, sysTCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    	return wrapSyscallError("setsockopt", err)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/net/tcpsockopt_windows.go

    	if !windows.SupportTCPKeepAliveIdle() {
    		return setKeepAliveIdleAndInterval(fd, d, -1)
    	}
    
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, windows.TCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    	return os.NewSyscallError("setsockopt", err)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top