Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SetMode (0.18 sec)

  1. src/math/big/float_test.go

    	}
    
    	// compute expected accuracy
    	a := Exact
    	switch {
    	case r < x:
    		a = Below
    	case r > x:
    		a = Above
    	}
    
    	// round
    	f := new(Float).SetMode(mode).SetInt64(x).SetPrec(prec)
    
    	// check result
    	r1 := f.int64()
    	p1 := f.Prec()
    	a1 := f.Acc()
    	if r1 != r || p1 != prec || a1 != a {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    - link:{javadocPath}/org/gradle/api/file/FileTreeElement.html#getMode--[FileTreeElement.getMode]
    - link:{javadocPath}/org/gradle/api/file/FileCopyDetails.html#setMode-int-[FileCopyDetails.setMode]
    
    [[directory_build_cache_retention_deprecated]]
    ==== Deprecated setting retention period directly on local build cache ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                    // otherwise there are no guarantees anyway, but this stuff is legacy anyways.
                    SmbComSeek seekReq = new SmbComSeek(config, 0);
                    seekReq.setMode(0x2); // from EOF
                    SmbComSeekResponse seekResp = new SmbComSeekResponse(config);
                    seekReq.setFid(response.getFid());
                    try {
                        h.send(seekReq, seekResp);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		t.Run(test.name, func(t *testing.T) {
    			node := v1.Node{Status: v1.NodeStatus{Capacity: makeResources(10, 20, 32, 5, 20, 5), Allocatable: makeAllocatableResources(10, 20, 32, 5, 20, 5)}}
    			test.nodeInfo.SetNode(&node)
    
    			if test.args.ScoringStrategy == nil {
    				test.args.ScoringStrategy = defaultScoringStrategy
    			}
    
    			_, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            e.message.contains("Execution failed for task :finalizer")
    
            then:
            coordinator.withStateLock {
                finalizedPlan.contents.getNode(finalized).isSuccessful()
                finalizedPlan.contents.getNode(finalizer).state == Node.ExecutionState.FAILED_DEPENDENCY
            }
        }
    
        def "no task is started when invalid task is running"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  6. pkg/workloadapi/workload.pb.go

    }
    
    func (x *LoadBalancing) GetRoutingPreference() []LoadBalancing_Scope {
    	if x != nil {
    		return x.RoutingPreference
    	}
    	return nil
    }
    
    func (x *LoadBalancing) GetMode() LoadBalancing_Mode {
    	if x != nil {
    		return x.Mode
    	}
    	return LoadBalancing_UNSPECIFIED_MODE
    }
    
    // Workload represents a workload - an endpoint (or collection behind a hostname).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server_test.go

    		PodSandboxId: testPodSandboxID,
    		Port:         portForwardOpts.Ports,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return url.Parse(resp.GetUrl())
    }
    
    // Unused functions
    func (*fakeKubelet) GetNode() (*v1.Node, error)                       { return nil, nil }
    func (*fakeKubelet) GetNodeConfig() cm.NodeConfig                     { return cm.NodeConfig{} }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    		tc.informerFactory.Shutdown()
    	})
    
    	tc.informerFactory.WaitForCacheSync(tc.ctx.Done())
    
    	for _, node := range nodes {
    		nodeInfo := framework.NewNodeInfo()
    		nodeInfo.SetNode(node)
    		tc.nodeInfos = append(tc.nodeInfos, nodeInfo)
    	}
    	tc.state = framework.NewCycleState()
    
    	return tc
    }
    
    // createReactor implements the logic required for the UID and ResourceVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPreFilterDisabled(t *testing.T) {
    	pod := &v1.Pod{}
    	nodeInfo := framework.NewNodeInfo()
    	node := v1.Node{}
    	nodeInfo.SetNode(&node)
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	p := plugintesting.SetupPluginWithInformers(ctx, t, New, &config.InterPodAffinityArgs{}, cache.NewEmptySnapshot(), nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

                        }
                    }
                    visitAnnotations(para);
                }
            }
            Statement code = ce.getCode();
            if (code != null) {
                code.visit(this);
            }
            inClosure = oldInClosure;
            return ce;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
Back to top