Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 724 for success (0.07 sec)

  1. src/test/java/jcifs/smb/NtStatusTest.java

            assertEquals(NtStatus.NT_STATUS_CODES.length, messages.length);
    
            // First message should be for success
            assertNotNull(messages[0]);
            assertTrue(messages[0].toLowerCase().contains("success") || messages[0].toLowerCase().contains("completed"));
        }
    
        @Test
        @DisplayName("Should handle access denied status")
        void testAccessDeniedStatus() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && got != v.want {
    			t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want)
    		}
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. src/main/java/jcifs/audit/SecurityAuditLogger.java

            context.put("authMethod", authMethod);
            context.put("success", success);
    
            String message = buildAuthMessage(success, maskedUsername, maskedAddress, authMethod);
    
            logEvent(type, severity, message, context);
            returnContextMap(context);
        }
    
        private String buildAuthMessage(boolean success, String maskedUsername, String maskedAddress, String authMethod) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. cmd/config-encrypted_test.go

    		edata   []byte
    		cred    auth.Credentials
    		success bool
    	}{
    		{edata1, cred1, true},
    		{edata2, cred2, true},
    		{data, cred1, false},
    	}
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata))
    			if err != nil && test.success {
    				t.Errorf("Expected success, saw failure %v", err)
    			}
    			if err == nil && !test.success {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtException.java

     */
    public class NbtException extends CIFSException {
    
        /**
         *
         */
        private static final long serialVersionUID = 492638554095148960L;
        // error classes
        /** Success status code */
        public static final int SUCCESS = 0;
        /** Name service error class */
        public static final int ERR_NAM_SRVC = 0x01;
        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. cmd/lock-rest-server.go

    	// Add a timeout similar to what we expect upstream.
    	ctx, cancel := context.WithTimeout(context.Background(), dsync.DefaultTimeouts.Acquire)
    	defer cancel()
    	resp := lockRPCLock.NewResponse()
    	success, err := l.ll.Lock(ctx, *args)
    	if err == nil && !success {
    		return l.makeResp(resp, errLockConflict)
    	}
    	return l.makeResp(resp, err)
    }
    
    // UnlockHandler - releases the acquired lock.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. misc/chrome/gophertool/popup.js

      box.focus();
    
      var t = box.value;
      if (t == "") {
        return false;
      }
    
      var success = function(url) {
        console.log("matched " + t + " to: " + url)
        box.value = "";
        openURL(url);
        return false;  // cancel form submission
      };
    
      var url = urlForInput(t);
      if (url) {
        return success(url);
      }
    
      console.log("no match for text: " + t)
      return false;
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Oct 21 17:05:21 UTC 2012
    - 1020 bytes
    - Viewed (0)
  8. cmd/kms-handlers_test.go

    			name:   "create key as user with no resources specified want success",
    			method: http.MethodPost,
    			path:   kmsKeyCreatePath,
    			query:  map[string]string{"key-id": "new-test-key"},
    			asRoot: false,
    
    			policy: `{"Effect": "Allow",
    				"Action": ["kms:CreateKey"] }`,
    
    			wantStatusCode: http.StatusOK,
    		},
    		{
    			name:   "create key as user set policy to allow want success",
    			method: http.MethodPost,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. cmd/bucket-listobjects-handlers.go

    	var nodeIndex int
    	if subToken, nodeIndex = parseRequestToken(token); nodeIndex >= 0 {
    		proxied, success = proxyRequestByNodeIndex(ctx, w, r, nodeIndex, returnErr)
    	}
    	return
    }
    
    func proxyRequestByNodeIndex(ctx context.Context, w http.ResponseWriter, r *http.Request, index int, returnErr bool) (proxied, success bool) {
    	if len(globalProxyEndpoints) == 0 {
    		return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                            byte[] buffer = new byte[100];
                            int written = req.writeBytesWireFormat(buffer, 0);
                            success[index] = (written == 4 && SMBUtil.readInt2(buffer, 0) == 4);
                        } catch (Exception e) {
                            success[index] = false;
                        }
                    });
                    threads[i].start();
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top