Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 4,820 for IF (0.01 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

         * @param access the desired access rights
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException {
            this.handle = handle;
            if (server == null) {
                server = "\\\\";
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. cmd/api-errors_test.go

    		errCode := toAPIErrorCode(ctx, testCase.err)
    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode)
    		}
    	}
    }
    
    // Check if an API error is properly defined
    func TestAPIErrCodeDefinition(t *testing.T) {
    	for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ {
    		errCode, ok := errorCodes[errAPI]
    		if !ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. cmd/bitrot-whole.go

    }
    
    func (b *wholeBitrotReader) ReadAt(buf []byte, offset int64) (n int, err error) {
    	if b.buf == nil {
    		b.buf = make([]byte, b.tillOffset-offset)
    		if _, err := b.disk.ReadFile(context.TODO(), b.volume, b.filePath, offset, b.buf, b.verifier); err != nil {
    			return 0, err
    		}
    	}
    	if len(b.buf) < len(buf) {
    		return 0, errLessData
    	}
    	n = copy(buf, b.buf)
    	b.buf = b.buf[n:]
    	return n, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                }
            } else // don't truncate the file
            if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) {
                // create it if necessary
                if ((flags & SmbFile.O_EXCL) == SmbFile.O_EXCL) {
                    // fail if already exists
                    createDisposition = FILE_CREATE;
                } else {
                    createDisposition = FILE_OPEN_IF;
                }
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ClosingFuture.java

      /**
       * Attempts to cancel execution of this step. This attempt will fail if the step has already
       * completed, has already been cancelled, or could not be cancelled for some other reason. If
       * successful, and this step has not started when {@code cancel} is called, this step should never
       * run.
       *
       * <p>If successful, causes the objects captured by this step (if already started) and its input
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsBoostDocumentRule.java

            if (boostExpr != null) {
                addFieldToSource(sourceMap, "boostExpr", boostExpr);
            }
            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (sortOrder != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SambaHelper.java

            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
                    // ignore
                }
            }
            final Integer id = fessConfig.getAvailableSmbSidType(type);
            if (id != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
                if (lep.startsWith("\\pipe\\")) {
                    final String iface = (String) INTERFACES.get(lep.substring(6));
                    if (iface != null) {
                        int c, p;
                        c = iface.indexOf(':');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            }
            if (value instanceof Long) {
                return ((Long) value).floatValue();
            }
            if (value instanceof Float) {
                return (Float) value;
            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
            if (value != null) {
                return Float.parseFloat(value.toString());
            }
    
            return 0.0f;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/FacetInfo.java

        public BucketOrder getBucketOrder() {
            if (StringUtil.isNotBlank(sort)) {
                final String[] values = sort.split("\\.");
                final boolean asc;
                if (values.length > 1) {
                    asc = !"desc".equalsIgnoreCase(values[1]);
                } else {
                    asc = true;
                }
                if (values.length > 0) {
                    if ("term".equals(values[0]) || "key".equals(values[0])) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top