Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 576 for PREFIX (0.14 sec)

  1. src/archive/tar/writer_test.go

    		}
    
    		// The prefix field should never appear in the GNU format.
    		var blk block
    		copy(blk[:], b.Bytes())
    		prefix := string(blk.toUSTAR().prefix())
    		prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator
    		if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) {
    			t.Errorf("test %d, found prefix in GNU format: %s", i, prefix)
    		}
    
    		tr := NewReader(&b)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. api/next/62384.txt

    pkg net/netip, method (AddrPort) AppendBinary([]uint8) ([]uint8, error) #62384
    pkg net/netip, method (AddrPort) AppendText([]uint8) ([]uint8, error) #62384
    pkg net/netip, method (Prefix) AppendBinary([]uint8) ([]uint8, error) #62384
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 18:10:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

      public static class ImmutableListTailSubListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          String[] prefix = {"f", "g"};
          String[] all = new String[elements.length + prefix.length];
          arraycopy(prefix, 0, all, 0, 2);
          arraycopy(elements, 0, all, 2, elements.length);
          return ImmutableList.copyOf(all).subList(2, elements.length + 2);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/metacache-set_gen.go

    				return
    			}
    		case "BaseDir":
    			z.BaseDir, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "BaseDir")
    				return
    			}
    		case "Prefix":
    			z.Prefix, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Prefix")
    				return
    			}
    		case "FilterPrefix":
    			z.FilterPrefix, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "FilterPrefix")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. tests/test_modules_same_name_body/app/main.py

    from fastapi import FastAPI
    
    from . import a, b
    
    app = FastAPI()
    
    app.include_router(a.router, prefix="/a")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 28 17:35:16 UTC 2019
    - 150 bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashing.java

      }
    
      /** Returns the hash prefix given the current mask. */
      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/TempFileCreator.java

                  + "0 to "
                  + baseName
                  + (TEMP_DIR_ATTEMPTS - 1)
                  + ')');
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
          return File.createTempFile(
              /* prefix= */ prefix,
              /* suffix= */ null,
              /* directory= */ null /* defaults to java.io.tmpdir */);
        }
    
        /** Maximum loop count when creating temp directories. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                final MinioClient minioClient = createClient(fessConfig);
                final ListObjectsArgs args = ListObjectsArgs.builder().bucket(fessConfig.getStorageBucket())
                        .prefix(prefix != null && prefix.length() > 0 ? prefix + "/" : prefix).recursive(false).includeUserMetadata(false)
                        .useApiVersion1(false).build();
                for (final Result<Item> result : minioClient.listObjects(args)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. cmd/utils.go

    		}
    		err = werr
    	}
    }
    
    // stringsHasPrefixFold tests whether the string s begins with prefix ignoring case.
    func stringsHasPrefixFold(s, prefix string) bool {
    	// Test match with case first.
    	return len(s) >= len(prefix) && (s[0:len(prefix)] == prefix || strings.EqualFold(s[0:len(prefix)], prefix))
    }
    
    func ptr[T any](a T) *T {
    	return &a
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. cmd/data-usage.go

    var prefixUsageCache = cachevalue.New[map[string]uint64]()
    
    // loadPrefixUsageFromBackend returns prefix usages found in passed buckets
    //
    //	e.g.:  /testbucket/prefix => 355601334
    func loadPrefixUsageFromBackend(ctx context.Context, objAPI ObjectLayer, bucket string) (map[string]uint64, error) {
    	z, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		// Prefix usage is empty
    		return map[string]uint64{}, nil
    	}
    
    	cache := dataUsageCache{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top