Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for geterror (0.13 sec)

  1. maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(active.isEmpty());
            assertEquals(1, problems.getErrors().size());
            assertEquals(
                    "Failed to determine activation for profile one: BOOM",
                    problems.getErrors().get(0));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/perf-tests.go

    				mu.Unlock()
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	// We already saw write failures, no need to proceed into read's
    	if retError != "" {
    		return SpeedTestResult{
    			Uploads:     totalBytesWritten,
    			Downloads:   totalBytesRead,
    			UploadTimes: uploadTimes,
    			Error:       retError,
    		}, nil
    	}
    
    	downloadsCtx, downloadsCancel := context.WithTimeout(ctx, opts.duration)
    	defer downloadsCancel()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one_test.go

    			result, err := sched.SchedulePod(ctx, fwk, framework.NewCycleState(), test.pod)
    			if err != test.wErr {
    				gotFitErr, gotOK := err.(*framework.FitError)
    				wantFitErr, wantOK := test.wErr.(*framework.FitError)
    				if gotOK != wantOK {
    					t.Errorf("Expected err to be FitError: %v, but got %v (error: %v)", wantOK, gotOK, err)
    				} else if gotOK {
    					if diff := cmp.Diff(wantFitErr, gotFitErr); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_host_recv_device_context.cc

        return;
      }
      status = stream_->RecordEvent(done_event_.get().get());
      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_host_send_device_context.cc

        return;
      }
      status = stream_->RecordEvent(done_event_.get().get());
      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one.go

    	} else if fitError, ok := err.(*framework.FitError); ok { // Inject UnschedulablePlugins to PodInfo, which will be used later for moving Pods between queues efficiently.
    		podInfo.UnschedulablePlugins = fitError.Diagnosis.UnschedulablePlugins
    		podInfo.PendingPlugins = fitError.Diagnosis.PendingPlugins
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  7. test/fixedbugs/issue11361.go

    // errorcheck
    
    // Copyright 2016 The Go Authors.  All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    import "fmt"  // GC_ERROR "imported and not used"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 351 bytes
    - Viewed (0)
  8. security/pkg/nodeagent/test/mock/caserver.go

    		return nil, caerror.NewError(caerror.CSRError, err)
    	}
    	signingCert, signingKey, _, _ := s.KeyCertBundle.GetAll()
    	certBytes, err := util.GenCertFromCSR(csr, signingCert, csr.PublicKey, *signingKey, subjectIDs, s.certLifetime, forCA)
    	if err != nil {
    		caServerLog.Errorf("failed to generate cert from CSR: %+v", err)
    		return nil, caerror.NewError(caerror.CertGenError, err)
    	}
    	block := &pem.Block{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/preemption/preemption.go

    	if err != nil && len(candidates) == 0 {
    		return nil, framework.AsStatus(err)
    	}
    
    	// Return a FitError only when there are no candidates that fit the pod.
    	if len(candidates) == 0 {
    		fitError := &framework.FitError{
    			Pod:         pod,
    			NumAllNodes: len(nodeToStatusMap),
    			Diagnosis: framework.Diagnosis{
    				NodeToStatusMap: nodeToStatusMap,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
    
            assertFalse(activator.isActive(new org.apache.maven.model.Profile(profile), context, problems));
    
            assertEquals(0, problems.getErrors().size());
            assertEquals(1, problems.getWarnings().size());
            assertTrue(problems.getWarnings().get(0).contains(warningContains));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top