Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 3,270 for switch (0.04 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

                                        DirectoryChangeType changeType) {
            DirectoryCacheEntry entry = directoryCache.get(directoryPath);
            if (entry == null) return;
            
            switch (changeType) {
                case FILE_ADDED:
                    // Invalidate cache - we need to fetch new file info
                    entry.invalidate();
                    break;
                    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    // HasPrefix reports whether the byte slice s begins with prefix.
    func HasPrefix(s, prefix []byte) bool {
    	return len(s) >= len(prefix) && Equal(s[:len(prefix)], prefix)
    }
    
    // HasSuffix reports whether the byte slice s ends with suffix.
    func HasSuffix(s, suffix []byte) bool {
    	return len(s) >= len(suffix) && Equal(s[len(s)-len(suffix):], suffix)
    }
    
    // Map returns a copy of the byte slice s with all its characters modified
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. cmd/http-stats.go

    	st.totalS3Requests.Inc(api)
    
    	// Increment the prometheus http request response histogram with appropriate label
    	httpRequestsDuration.With(prometheus.Labels{"api": api}).Observe(w.TTFB().Seconds())
    
    	code := w.StatusCode
    
    	switch {
    	case code == 0:
    	case code == 499:
    		// 499 is a good error, shall be counted as canceled.
    		st.totalS3Canceled.Inc(api)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    throw new SmbException("EOF during NetBIOS session request");
                }
                switch (sbuf[0] & 0xFF) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if (LogStream.level >= 4) {
                        log.println("session established ok with " + address);
                    }
                    return;
                case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. schema/schema.go

    				field.Schema.DeleteClauses = append(field.Schema.DeleteClauses, fc.DeleteClauses(field)...)
    			}
    		}
    	}
    
    	if field := schema.PrioritizedPrimaryField; field != nil {
    		switch field.GORMDataType {
    		case Int, Uint:
    			if _, ok := field.TagSettings["AUTOINCREMENT"]; !ok {
    				if !field.HasDefaultValue || field.DefaultValueInterface != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            if (values[1].startsWith("/")) {
                path = values[1];
            } else {
                path = "/" + values[1];
            }
    
            final CurlHelper curlHelper = ComponentUtil.getCurlHelper();
            switch (values[0].toUpperCase(Locale.ROOT)) {
            case "GET":
                return curlHelper.get(path);
            case "POST":
                return curlHelper.post(path);
            case "PUT":
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          h2 += h1;
          h2 = h2 * 5 + 0x38495ab5;
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          long k1 = 0;
          long k2 = 0;
          length += bb.remaining();
          switch (bb.remaining()) {
            case 15:
              k2 ^= (long) toUnsignedInt(bb.get(14)) << 48; // fall through
            case 14:
              k2 ^= (long) toUnsignedInt(bb.get(13)) << 40; // fall through
            case 13:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/spnego/NegTokenTarg.java

                final Enumeration<?> fields = sequence.getObjects();
                while (fields.hasMoreElements()) {
                    tagged = (ASN1TaggedObject) fields.nextElement();
                    switch (tagged.getTagNo()) {
                    case 0:
                        final ASN1Enumerated enumerated = ASN1Enumerated.getInstance(tagged, true);
                        setResult(enumerated.getValue().intValue());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. cmd/ftp-server.go

    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            SMBUtil.writeInt2(0, enc, pos + 2);
            pos += 4;
            return enc;
        }
    
        private static AvPair parseAvPair(final int avId, final byte[] raw) {
            return switch (avId) {
            case AvPair.MsvAvFlags -> new AvFlags(raw);
            case AvPair.MsvAvTimestamp -> new AvTimestamp(raw);
            case AvPair.MsvAvTargetName -> new AvTargetName(raw);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top