Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 506 for toreplace (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/config/errors-utils.go

    	}
    	return u.detail
    }
    
    // Msg - Replace the current error's message
    func (u Err) Msg(m string) Err {
    	e := u.Clone()
    	e.msg = m
    	return e
    }
    
    // Msgf - Replace the current error's message
    func (u Err) Msgf(m string, args ...any) Err {
    	e := u.Clone()
    	if len(args) == 0 {
    		e.msg = m
    	} else {
    		e.msg = fmt.Sprintf(m, args...)
    	}
    	return e
    }
    
    // Hint - Replace the current error's message
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should replace entry in cache map")
            void testReplaceCacheWithMap() {
                String key = "test-key";
    
                // Setup concrete implementation
                concreteImplementation.setKey(key);
                concreteImplementation.setCacheMap(cacheMap);
    
                // Execute replace
                concreteImplementation.replaceCache();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero);
        // since the putIfAbsent returned a zero, we'll try to replace...
        when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false);
        // ...and then putIfAbsent. Simulate failure on both
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            String result = path;
    
            if (path != null && basedir != null) {
                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/RemovalCause.java

       * result from the user invoking {@link Cache#put}, {@link LoadingCache#refresh}, {@link Map#put},
       * {@link Map#putAll}, {@link ConcurrentMap#replace(Object, Object)}, or {@link
       * ConcurrentMap#replace(Object, Object, Object)}.
       */
      REPLACED {
        @Override
        boolean wasEvicted() {
          return false;
        }
      },
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

         */
        @Deprecated
        public File getPomFile() {
            return getFile();
        }
    
        @Override
        public ModelSource2 getRelatedSource(String relPath) {
            relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
            Path relatedPom = getPath().getParent().resolve(relPath);
    
            if (Files.isDirectory(relatedPom)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            for (final JarEntry entry : iterable(jarFile.entries())) {
                final String entryName = entry.getName().replace('\\', '/');
                if (entryName.startsWith(prefix) && entryName.endsWith(CLASS_SUFFIX)) {
                    final String className = entryName.substring(startPos, entryName.length() - CLASS_SUFFIX.length()).replace('/', '.');
                    final int pos = className.lastIndexOf('.');
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. internal/s3select/sql/statement.go

    			for i, val := range v {
    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    		default:
    			kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v}}
    		}
    
    		if err = input.Replace(kvs); err != nil {
    			return nil, err
    		}
    
    		return []*Record{&input}, nil
    	case simdjson.Object:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                        // we're going to parse this back in as XML so we need to escape XML markup
                        value = value.toString()
                                .replace("&", "&")
                                .replace("<", "&lt;")
                                .replace(">", "&gt;");
                        return value;
                    }
                    return null;
                }
            });
    
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. internal/s3select/simdj/record.go

    	if err != nil {
    		return err
    	}
    	if n != len(b) {
    		return io.ErrShortWrite
    	}
    	return nil
    }
    
    // Replace the underlying buffer of json data.
    func (r *Record) Replace(k any) error {
    	v, ok := k.(simdjson.Object)
    	if !ok {
    		return fmt.Errorf("cannot replace internal data in simd json record with type %T", k)
    	}
    	r.object = v
    	return nil
    }
    
    // NewRecord - creates new empty JSON record.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top