Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 693 for decode (0.08 sec)

  1. docs/debugging/xl-meta/main.go

    			} else {
    				s += ", \"bitrot_valid\": false"
    			}
    			if value {
    				if utf8.Valid(data) {
    					// Encode as JSON string.
    					b, err := json.Marshal(string(data))
    					if err == nil {
    						s += `, "data_string": ` + string(b)
    					}
    				}
    				// Base64 encode.
    				s += `, "data_base64": "` + base64.StdEncoding.EncodeToString(data) + `"`
    			}
    			s += "}"
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                    cci = Math.max(cci, createContextStart + nameOffset + nameLength);
    
                    CreateContextResponse cc = createContext(nameBytes);
                    if ( cc != null ) {
                        cc.decode(buffer, createContextStart + dataOffset, dataLength);
                        contexts.add(cc);
                    }
    
                    cci = Math.max(cci, createContextStart + dataOffset + dataLength);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/ACE.java

        public int getAccessMask () {
            return this.access;
        }
    
    
        @Override
        public SID getSID () {
            return this.sid;
        }
    
    
        @Override
        public int decode ( byte[] buf, int bi, int len ) {
            this.allow = buf[ bi++ ] == (byte) 0x00;
            this.flags = buf[ bi++ ] & 0xFF;
            int size = SMBUtil.readInt2(buf, bi);
            bi += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

            });
            final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
            body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                    .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
            body.virtualHosts = stream(entity.getVirtualHosts())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate.go

    			errs = multierror.Append(errs, multierror.Prefix(err, fmt.Sprintf("failed to decode file %s: ", path)))
    			return warnings, errs
    		}
    		if len(doc) == 0 {
    			continue
    		}
    		out := map[string]any{}
    		if err := yaml.UnmarshalStrict(doc, &out); err != nil {
    			errs = multierror.Append(errs, multierror.Prefix(err, fmt.Sprintf("failed to decode file %s: ", path)))
    			return warnings, errs
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    ntlm = NtlmSsp.authenticate(request, response, challenge);
                    if (ntlm == null) return;
                } else {
                    String auth = new String(Base64.decode(msg.substring(6)),
                            "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = (index != -1) ? auth.substring(0, index) : auth;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  7. internal/bucket/replication/replication.go

    // ParseConfig parses ReplicationConfiguration from xml
    func ParseConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxReplicationConfigSize)).Decode(&config); err != nil {
    		return nil, err
    	}
    	// By default, set replica modification to enabled if unset.
    	for i := range config.Rules {
    		if len(config.Rules[i].SourceSelectionCriteria.ReplicaModifications.Status) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. internal/event/target/elasticsearch.go

    		c.Info.WithContext(ctx),
    	)
    	if err != nil {
    		return ESSUnknown, "", store.ErrNotConnected
    	}
    
    	defer resp.Body.Close()
    
    	m := make(map[string]interface{})
    	err = json.NewDecoder(resp.Body).Decode(&m)
    	if err != nil {
    		return ESSUnknown, "", fmt.Errorf("unable to get ES Server version - json parse error: %v", err)
    	}
    
    	if v, ok := m["version"].(map[string]interface{}); ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/crypto/CachedCipher.java

                offerDecryptoCipher(cipher);
            }
            return decrypted;
        }
    
        public String decryptoText(final String text) {
            try {
                return new String(decrypto(Base64Util.decode(text)), charsetName);
            } catch (final UnsupportedEncodingException e) {
                throw new UnsupportedEncodingRuntimeException(e);
            }
        }
    
        protected Cipher pollEncryptoCipher() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

        r = JUnitXml.fromfile(f)
      except Exception as e:  # pylint: disable=broad-except
        print("Ignoring this XML parse failure in {}: ".format(f), str(e))
    
      source_file = re.search(
          r"/(bazel_pip|tensorflow)/.*", f.decode("utf-8")
      ).group(0)
      for testsuite in r:
        testsuite._elem.set("source_file", source_file)
        # Remove empty testcases
        for p in testsuite._elem.xpath(".//testcase"):
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top