Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 631 for Succeeded (0.16 sec)

  1. internal/ringbuffer/ring_buffer.go

    		}
    		n, err = r.read(p)
    	}
    	if r.block && n > 0 {
    		r.readCond.Broadcast()
    	}
    	return n, err
    }
    
    // TryRead read up to len(p) bytes into p like Read but it is not blocking.
    // If it has not succeeded to acquire the lock, it return 0 as n and ErrAcquireLock.
    func (r *RingBuffer) TryRead(p []byte) (n int, err error) {
    	ok := r.mu.TryLock()
    	if !ok {
    		return 0, ErrAcquireLock
    	}
    	defer r.mu.Unlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. pkg/registry/storage/csistoragecapacity/strategy_test.go

    			if len(errs) > 0 && !test.expectError {
    				t.Errorf("unexpected validation failure: %+v", errs)
    			}
    			if len(errs) == 0 && test.expectError {
    				t.Errorf("validation unexpectedly succeeded")
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size_test.cc

    TF::ConstOp ParseConstOp(const absl::string_view const_op_str, Block& block,
                             MLIRContext& ctx) {
      const LogicalResult parse_result =
          parseSourceString(const_op_str, &block, ParserConfig(&ctx));
      EXPECT_TRUE(succeeded(parse_result));
    
      auto const_op = dyn_cast_or_null<TF::ConstOp>(block.front());
      EXPECT_TRUE(const_op);
    
      return const_op;
    }
    
    TEST_F(GetSizeInBytesTest, Int32ScalarConstOpSizeInBytes) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:37:13 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

        llvm::SmallVectorImpl<OpAsmParser::UnresolvedOperand>* region_args,
        llvm::SmallVectorImpl<Type>* region_arg_types) {
      // No operands or empty operand list.
      bool parsed_l_paren = succeeded(parser->parseOptionalLParen());
      if (!parsed_l_paren || succeeded(parser->parseOptionalRParen()))
        return success();
    
      // Parse comma separated operands of the following format:
      //   replicated_input
      //     [%a, ...] as %block_arg0: type
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. pkg/security/mock.go

    	if token == nil {
    		f.Successes.Inc()
    		return &Caller{
    			AuthSource: AuthSourceIDToken,
    			Identities: id,
    		}, nil
    	}
    	f.Failures.Inc()
    	return nil, fmt.Errorf("neither token (%v) nor cert (%v) succeeded", token, cert)
    }
    
    func (f *FakeAuthenticator) AuthenticatorType() string {
    	return "fake"
    }
    
    func (f *FakeAuthenticator) Set(token string, identity string) *FakeAuthenticator {
    	f.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphTest.groovy

            1 * preparer.prepareToScheduleTasks(_)
            1 * workGraph.populateWorkGraph(_)
            1 * workGraph.finalizeGraph()
            1 * workGraph.runWork() >> ExecutionResult.succeeded()
        }
    
        def "cannot schedule tasks when graph has not been created"() {
            when:
            graph.locateTask(taskIdentifier(DefaultBuildIdentifier.ROOT, ":task")).queueForExecution()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:04:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. .github/workflows/build-docs.yml

        if: always()
        needs:
          - build-docs
        runs-on: ubuntu-latest
        steps:
          - name: Decide whether the needed jobs succeeded or failed
            uses: re-actors/alls-green@release/v1
            with:
              jobs: ${{ toJSON(needs) }}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 10 00:30:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleSwiftProjectIntegrationTest.groovy

            resultDebugWithXCTest.assertHasPostBuildOutput("Test Case '-[GreeterTest.SumTestSuite testCanAddSumOf42]' passed")
            resultDebugWithXCTest.assertHasPostBuildOutput("** TEST SUCCEEDED **")
        }
    
        @Requires(UnitTestPreconditions.HasXCode)
        @ToBeFixedForConfigurationCache
        @Ignore("https://github.com/gradle/gradle-native-private/issues/274")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 31.3K bytes
    - Viewed (0)
  9. security/pkg/server/ca/authenticate/kubeauth/kube_jwt_test.go

    			actualCaller, err := authenticator.Authenticate(security.AuthContext{GrpcContext: ctx})
    			if len(tc.expectedErrMsg) > 0 {
    				if err == nil {
    					t.Errorf("Case %s: Succeeded. Error expected: %v", id, err)
    				} else if err.Error() != tc.expectedErrMsg {
    					t.Errorf("Case %s: Incorrect error message: \n%s\nVS\n%s",
    						id, err.Error(), tc.expectedErrMsg)
    				}
    				return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. pkg/kubelet/cloudresource/cloud_request_manager.go

    		klog.V(2).InfoS("Node addresses from cloud provider for node not collected", "nodeName", m.nodeName, "err", err)
    
    		if len(m.nodeAddresses) > 0 {
    			// in the event that a sync loop fails when a previous sync had
    			// succeeded, continue to use the old addresses.
    			return
    		}
    
    		m.nodeAddressesErr = fmt.Errorf("failed to get node address from cloud provider: %v", err)
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 05 18:29:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top