Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for geterror (0.27 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    	}
    
    	fd := int(netns.Fd())
    	resp, err := latestConn.send(ctx, data, &fd)
    	if err != nil {
    		return err
    	}
    
    	if resp.GetAck().GetError() != "" {
    		log.Errorf("add-workload: got ack error: %s", resp.GetAck().GetError())
    		return fmt.Errorf("got ack error: %s", resp.GetAck().GetError())
    	}
    	return nil
    }
    
    // TODO ctx is unused here
    // nolint: unparam
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/console/AbstractExecOutputIntegrationTest.groovy

            succeeds("run")
    
            then:
            def output = result.groupedOutput.task(':run').output
            output.contains(EXPECTED_OUTPUT)
            def errorOutput = errorsShouldAppearOnStdout() ? output : result.getError()
            errorOutput.contains(EXPECTED_ERROR)
        }
    
        def "JavaExec task output is grouped with its task output"() {
            given:
            generateMainJavaFileEchoing(EXPECTED_OUTPUT, EXPECTED_ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc

      llvm::InitLLVM y(argc, argv);
      llvm::cl::ParseCommandLineOptions(argc, argv);
      auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str());
      if (std::error_code error = file_or_err.getError()) {
        llvm::errs() << argv[0] << ": could not open input file '" << inputFileName
                     << "': " << error.message() << "\n";
        return 1;
      }
      auto buffer = file_or_err->get();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

      llvm::InitLLVM y(argc, argv);
      llvm::cl::ParseCommandLineOptions(argc, argv);
      auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str());
      if (std::error_code error = file_or_err.getError()) {
        llvm::errs() << argv[0] << ": could not open input file '" << inputFileName
                     << "': " << error.message() << "\n";
        return 1;
      }
      auto buffer = file_or_err->get();
      auto maybe_module =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_pod_control_test.go

    			t.Errorf("Found unexpected non-warning event %s", events[i])
    		}
    	}
    }
    
    type fakeIndexer struct {
    	cache.Indexer
    	getError error
    }
    
    func (f *fakeIndexer) GetByKey(key string) (interface{}, bool, error) {
    	return nil, false, f.getError
    }
    
    func TestStatefulPodControlCreatePodPvcGetFailure(t *testing.T) {
    	recorder := record.NewFakeRecorder(10)
    	set := newStatefulSet(3)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

                outputResult.assertHasErrorOutput(expectedOutput);
                return this;
            }
    
            @Override
            public String getError() {
                return outputResult.getError();
            }
    
            @Override
            public String getOutputLineThatContains(String text) {
                return outputResult.getOutputLineThatContains(text);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. pkg/zdsapi/zds.pb.go

    	}
    	return mi.MessageOf(x)
    }
    
    // Deprecated: Use Ack.ProtoReflect.Descriptor instead.
    func (*Ack) Descriptor() ([]byte, []int) {
    	return file_zdsapi_zds_proto_rawDescGZIP(), []int{6}
    }
    
    func (x *Ack) GetError() string {
    	if x != nil {
    		return x.Error
    	}
    	return ""
    }
    
    // Sent from CNI to ztunnel
    type WorkloadRequest struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_node_status_test.go

    		}
    
    		return node
    	}
    
    	cases := []struct {
    		name            string
    		newNode         *v1.Node
    		existingNode    *v1.Node
    		createError     error
    		getError        error
    		patchError      error
    		deleteError     error
    		expectedResult  bool
    		expectedActions int
    		testSavedNode   bool
    		savedNodeIndex  int
    		savedNodeCMAD   bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

                reportBuilder.append("----------------------------------------------------------------------------------------------------\n")
                reportBuilder.append("${it.name}\n")
                reportBuilder.append(result.getError())
                reportBuilder.append("\n")
            }
    
            reportFile.text = reportBuilder.toString()
        }
    
        private void assertAllExceptionsInShowcase(TestFile reportFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/reflect/all_test.go

    	v = ValueOf(a)
    	if v.Cap() != cap(a) {
    		t.Errorf("Cap = %d want %d", v.Cap(), cap(a))
    	}
    
    	getError := func(f func()) (errorStr string) {
    		defer func() {
    			e := recover()
    			if str, ok := e.(string); ok {
    				errorStr = str
    			}
    		}()
    		f()
    		return
    	}
    	e := getError(func() {
    		var ptr *int
    		ValueOf(ptr).Cap()
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top