Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 2,046 for Case (0.72 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

        }
    
        @Test
        void constructor_shouldInitializeValueCorrectly() {
            // Test case 1: Positive value
            int positiveValue = 12345;
            NdrLong ndrLongPositive = new NdrLong(positiveValue);
            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
            int negativeValue = -54321;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

        for (Thread thread : blockedThreads) {
          AbstractFutureBenchmarks.awaitWaiting(thread);
        }
        switch (state) {
          case NOT_DONE:
            break;
          case FINISHED:
            f.set(null);
            break;
          case CANCELLED:
            f.cancel(false);
            break;
          case FAILED:
            f.setException(new Exception());
            break;
        }
        return f;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

                this.throwOnDecode = throwOnDecode;
            }
        }
    
        @BeforeEach
        void setUp() {
            ndrObject = new ConcreteNdrObject();
        }
    
        /**
         * Test case for the encode method.
         * Verifies that the encode method of a concrete implementation is called
         * and interacts with the NdrBuffer as expected.
         * @throws NdrException if encoding fails.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. finisher_api.go

    		switch v := value.(type) {
    		case []clause.Expression:
    			for _, expr := range v {
    				if eq, ok := expr.(clause.Eq); ok {
    					switch column := eq.Column.(type) {
    					case string:
    						if field := db.Statement.Schema.LookUpField(column); field != nil {
    							db.AddError(field.Set(db.Statement.Context, db.Statement.ReflectValue, eq.Value))
    						}
    					case clause.Column:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    				}
    				traceFn(sz, err)
    				select {
    				case <-ctx.Done():
    					return
    				case <-s.resyncCancelCh:
    					return
    				case resultCh <- st:
    				}
    			}
    		}(ctx, i)
    	}
    	for res := range objInfoCh {
    		if res.Err != nil {
    			resyncStatus = ResyncFailed
    			replLogIf(ctx, res.Err)
    			return
    		}
    		select {
    		case <-s.resyncCancelCh:
    			resyncStatus = ResyncCanceled
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/NegTokenInit.java

                        }
                        setMechanisms(mechs);
                        break;
                    case 1:
                        final ASN1BitString ctxFlags = ASN1BitString.getInstance(tagged, true);
                        setContextFlags(ctxFlags.getBytes()[0] & 0xff);
                        break;
                    case 2:
                        final ASN1OctetString mechanismToken = ASN1OctetString.getInstance(tagged, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Encdec.java

            long t;
    
            return switch (enc) {
            case TIME_1970_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L), dst, di);
            case TIME_1970_SEC_32LE -> enc_uint32le((int) (date.getTime() / 1000L), dst, di);
            case TIME_1904_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L + SEC_BETWEEEN_1904_AND_1970 & 0xFFFFFFFF), dst, di);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(mockHandle);
        }
    
        @Test
        void testConstructor_SuccessfulConnect4() throws IOException {
            // Test case: Constructor with successful MsrpcSamrConnect4
            String server = "testServer";
            int access = 123;
    
            // No exception thrown by sendrecv for MsrpcSamrConnect4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessClient.java

                case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_CLIENT_MOVE:
                case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_SHARE_MOVE:
                    if (message.getDestinationNode() != null) {
                        notification.setNewNodeAddress(message.getDestinationNode());
                    }
                    break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    func (es *expiryState) Worker(input <-chan expiryOp) {
    	for {
    		select {
    		case <-es.ctx.Done():
    			return
    		case v, ok := <-input:
    			if !ok {
    				return
    			}
    			if v == nil {
    				// ResizeWorkers signaling worker to quit
    				return
    			}
    			switch v := v.(type) {
    			case expiryTask:
    				if v.objInfo.TransitionedObject.Status != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top